I made c edition of the function list of numpy. I just write what Gugu is doing easily and put a link with an example that seems to be usable, but as I do this, I gradually understand what I can do with numpy. I'd like to try an article with code soon.
np.c_ connection, r_ connected to the back inside is the same as hstack connected to the inside True if you can cast from a to b with np.can_cast (a, b). Converting to a type different from the cast https://numpy.org/doc/stable/reference/generated/numpy.can_cast.html np.cast Type conversion. Is it being replaced by astype now? https://www.programcreek.com/python/example/61566/numpy.cast np.cbrt cube root np.cdouble Complex type with the size of double np.ceil round up Complex type with the size of np.cfloat float np.char char type, but there are many functions that lead to this https://numpy.org/doc/stable/reference/routines.char.html np.character ? np.chararray Vectorization of string operations http://www.turbare.net/transl/scipy-lecture-notes/advanced/advanced_numpy/index.html np.choose Extract the value of the number according to the value of the 1D array from the 2D array https://qiita.com/junkoda/items/2d1d82e00b29e50df90c Limit the values in the np.clip array by giving them upper and lower limits https://analytics-note.xyz/programming/numpy-clip/ np.clongdouble Complex number with one integer and one floating point? (See below for confirmation later) https://www.programcreek.com/python/example/78125/numpy.clongdouble np.clongfloat Similar to clongdouble. Floating point side is single precision np.column_stack Combine two vectors vertically or horizontally to create a two-dimensional array https://stats.biopapyrus.jp/python/vector.html np.common_type Returns the type of array https://numpy.org/doc/stable/reference/generated/numpy.common_type.html np.compare_chararrays Element-by-element comparison of two string arrays https://kite.com/python/docs/numpy.compare_chararrays np.compat ? np.complex Complex type np.complex128 A total of 128-bit complex numbers np.complex256 A total of 256 bits of complex numbers np.complex64 A total of 64-bit complex numbers np.complex_ Same as np.complex128 np.complexfloating ? np.compress Select the one that meets the conditions and make it an array https://numpy.org/doc/1.18/reference/generated/numpy.compress.html https://www.youtube.com/watch?v=B0gN6Jn4QSg Combine np.concatenate array https://note.nkmk.me/python-numpy-concatenate-stack-block/ np.conj Returns the complex conjugate (inverted sign of the imaginary number). It can be a real number if it is originally https://deepage.net/features/numpy-math.html np.conjugate Returns the complex conjugate. Same as np.conj np.convolve Performs convolution calculation. A function that does the convolution part of CNN in one dimension https://deepage.net/features/numpy-convolve.html np.copy copy https://qiita.com/mytk0u0/items/231807f4136b2b1681b0 np.copysign Copy only the code part from another array https://note.nkmk.me/python-numpy-sign-signbit-copysign/ np.copyto Copy the array https://www.programcreek.com/python/example/102241/numpy.copyto np.core ? np.corrcoef Calculate the correlation coefficient https://deepage.net/features/numpy-corrcoef.html np.correlate Calculate cross-correlation function-see below for later understanding https://lambdalisue.hatenablog.com/entry/2017/01/04/194634 np.cos cosine np.cosh hyperbolic cosine np.count_nonzero Count the number of True with a condition https://note.nkmk.me/python-numpy-count/ np.cov Calculate covariance https://deepage.net/features/numpy-cov.html Calculate the outer product of np.cross vectors https://algorithm.joho.info/programming/python-numpy-vector-cross/ np.csingle Complex type with single size np.ctypeslib Used in cooperation with C language. Calling a C language function. Study here https://kyotogeopython.zawawahoge.com/html/%E5%BF%9C%E7%94%A8%E7%B7%A8/Fortran,%20C%E8%A8%80%E8%AA%9E%20%E3%81%A8%E3%81%AE%E9%80%A3%E6%90%BA.html np.cumprod Calculate the cumulative product (multiply the array in order) http://pppurple.hatenablog.com/entry/2016/05/02/235158 np.cumproduct Same as np.cumprod? Put the sum of np.cumsum elements as an array https://qiita.com/Sa_qiita/items/fc61f776cef657242e69
Recommended Posts