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

I'm using numpy in python, but there are many useful functions, and I've noticed that I could do this with numpy several times, so I also study writing a blog to cover what I can do with numpy. I'm making a list of functions. This time is b edition.

Create a sequence of mountains of np.bartlett 0-1-0. Number of elements in parentheses   https://numpy.org/doc/1.16/reference/generated/numpy.bartlett.html np.base_repr (number, base = 2, padding = 0) Convert binary numbers. If the value of base is 10, it will be in decimal  https://numpy.org/doc/stable/reference/generated/numpy.base_repr.html np.binary_repr Convert numbers to binary binaries Link np.bincount Outputs the mode in the array element   https://qiita.com/nirs_kd56/items/08f087dfa89b77d3c897 np.bitwise_and and for each bit   https://note.nkmk.me/python-numpy-logical-bitwise-and-or/ np.bitwise_not Inversion for each bit np.bitwise_or or for each bit np.bitwise_xor xor for each bit np.blackman Blackman window One of the window functions used for frequency analysis   http://aidiary.hatenablog.com/entry/20110716/1310824587 Combine np.block arrays by specifying the placement   https://note.nkmk.me/python-numpy-concatenate-stack-block/ Insert with np.bmat ([], []) and join in a grid pattern np.bool Boolean type np.bool8 8-bit bool type np.bool_ Similar to np.bool. Do you think the details of the mold are different? Check below.   https://ja.coder.work/so/python/169925 np.bool8 8-bit bool type np.bool_ Similar to np.bool. Do you think the details of the mold are different? Check below.   https://ja.coder.work/so/python/169925 np.broadcast A function that automatically expands when the number of elements is insufficient is called broadcast. This function is used when defining through broadcast.   https://qiita.com/capybara/items/2d5f387996a5bd275fbf   https://stackoverrun.com/ja/q/9994569 np.broadcast_arrays Broadcast multiple arrays to align the arrays   https://note.nkmk.me/python-numpy-broadcasting/ np.broadcast_to Broadcast to any shape   https://note.nkmk.me/python-numpy-broadcasting/ np.busday_count Ignore weekends and count the number of days. You may enter it as a character string Link np.busday_offset Advance the number of days as a business day ignoring weekends   https://numpy.org/doc/stable/reference/generated/numpy.busday_offset.html np.busdaycalendar Define holidays   https://numpy.org/doc/stable/reference/generated/numpy.busdaycalendar.html np.byte byte type np.byte_bounds Returns an array pointer. As an example of use   http://www.366service.com/jp/qa/cf1dcfcf28c7009fb76ff3f6c8fbfe08  np.bytes0  ? If you can understand the difference when np.bytes_? _ Is attached, you can understand it.

In some places, the essence cannot be understood and the coverage is insufficient. I will update it as needed when I find out something.

Recommended Posts

Add a list of numpy library functions little by little --- b
Add a list of numpy library functions little by little --a
Add a list of numpy library functions little by little --c
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!"
Visualization of matrix created by numpy
[python] Manage functions in a list
Judgment of if by list comprehension
List of packages installed by conda
Generate a list of consecutive characters
A note about the functions of the Linux standard library that handles time
I tried to verify the result of A / B test by chi-square test
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