NDField#
This class is used to represent fields of a structured NDArray.
For instance, you can create an array with two fields:
s = blosc2.empty(shape, dtype=[("a", np.float32), ("b", np.float64)])
a = blosc2.NDField(s, "a")
b = blosc2.NDField(s, "b")
Methods#
Create a new NDField. |
|
Iterate over the elements in the field. |
|
Get a slice of |
|
Set a slice of |