-
-
Notifications
You must be signed in to change notification settings - Fork 346
Open
0 / 10 of 1 issue completedDescription
Zarr-Python 2 supported object arrays. This functionality has not made it into Zarr-Python 3 yet (in part because there is not an obvious way to develop a v3 dtype for arbitrary Python objects).
An example demonstrating this functionality using Zarr-Python 2:
z = zarr.empty(5, dtype=object, object_codec=numcodecs.JSON())
z[0] = 42
z[1] = 'foo'
z[2] = ['bar', 'baz', 'qux']
z[3] = {'a': 1, 'b': 2.2}
z[:]
array([42, 'foo', list(['bar', 'baz', 'qux']), {'a': 1, 'b': 2.2}, None], dtype=object)
This issue tracks the development of object array support in Zarr-Python 3.
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels