Skip to content

Commit

Permalink
Update src/zarr/api/synchronous.py
Browse files Browse the repository at this point in the history
Co-authored-by: Deepak Cherian <[email protected]>
  • Loading branch information
d-v-b and dcherian authored Jan 29, 2025
1 parent bcf8aec commit b21db55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/zarr/api/synchronous.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,8 @@ def create_array(
Shape of the array. Can be ``None`` if ``data`` is provided.
dtype : npt.DTypeLike, optional
Data type of the array. Can be ``None`` if ``data`` is provided.
data : Array-like data to use for initializing the array. If this parameter is provided, the
data : np.ndarray, optional
Array-like data to use for initializing the array. If this parameter is provided, the
``shape`` and ``dtype`` parameters must be identical to ``data.shape`` and ``data.dtype``,
or ``None``.
chunks : ChunkCoords, optional
Expand Down

0 comments on commit b21db55

Please sign in to comment.