Open
Description
Zarr-Python 2 supported structured dtypes. I don't think this has been discussed much, if at all, in the context of version 3.
This once worked:
a = np.array(
[(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)],
dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")],
)
za = zarr.array(a, chunks=2, fill_value=None)
za[:]
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo