-
-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Milestone
Description
In V2, an array can be created with no dtype. The default dtype is f8: https://zarr.readthedocs.io/en/stable/api/creation.html#zarr.creation.create
In V3, dtype is mandatory.
import zarr
arr = zarr.Array.create(store=zarr.store.MemoryStore(), shape=(10,), chunks=(5,))
# -> TypeError: Array.create() missing 1 required keyword-only argument: 'dtype'I think we should consider bringing back the default for backwards compatibility.
jhamman
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done