Skip to content

binary_array.py

NumpyBinary dataclass

Bases: IO[ndarray]

IO to load from and save binary numpy arrays.

Example usage:

>>> from pathlib import Path
>>> from ordeq_numpy import NumpyBinary
>>> MyArray = NumpyBinary(
...     path=Path("path/to.npy")
... )