[PYTHON] Add a list of numpy library functions little by little --c

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

Add a list of numpy library functions little by little --c
Add a list of numpy library functions little by little --- b
Get a list of Qiita likes by scraping
List of activation functions (2020)
Group by consecutive elements of a list in Python
colaboratory List of library versions included by default Memo
[Python] How to make a list of character strings character by character
List of array (ndarray) operations of Python's numerical calculation library "Numpy"
A list of functions that I came across with 100 Numpy knocks and thought "This is convenient!"
Pass a list by reference from Python to C ++ with pybind11
Visualization of matrix created by numpy
To add a C module to MicroPython ...
Judgment of if by list comprehension
Make C compilation a little easier
List of packages installed by conda
Generate a list of consecutive characters
Extension of Python by C or C ++ (when there are multiple arguments, when passing a list from the Python side)
A note about the functions of the Linux standard library that handles time
A little niche feature introduction of faiss
Display a list of alphabets in Python 3
A little scrutiny of pandas 1.0 and dask
Summary of library hosting pages by language
Summary of numpy functions I didn't know
[python] Get a list of instance variables
String conversion of a list containing numbers
[Pandas_flavor] Add a method of Pandas DataFrame
[Python] Get a list of folders only
Get a list of articles posted by users with Python 3 Qiita API v2
The story of Django creating a library that might be a little more useful
Extract elements (using a list of indexes) in a NumPy style from a Python list / tuple