numpy.setbufsize

numpy.setbufsize(size)[source]

Set the size of the buffer used in ufuncs.

Changed in version 2.0: The scope of setting the buffer is tied to the numpy.errstate context. Exiting a with errstate(): will also restore the bufsize.

Parameters:
sizeint

Size of buffer.

© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.0/reference/generated/numpy.setbufsize.html