get_np_io
- get_np_io(arr: numpy.typing.ArrayLike, **kwargs: Any) BytesIO[source]
Get the numpy object as bytes.
- Parameters:
arr – Array-like
kwargs – Additional kwargs to pass to
numpy.save().
- Returns:
A bytes object that can be used as a file.
Get the numpy object as bytes.
arr – Array-like
kwargs – Additional kwargs to pass to numpy.save().
A bytes object that can be used as a file.