Skip to content

Commit 1e89ae2

Browse files
committed
add release notes
1 parent dd56777 commit 1e89ae2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

changes/2761.feature.1.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
2+
to use ``init_array``. ``create_array`` takes two a new parameters: ``data``, an optional array-like object, and ``write_data``, a bool which defaults to ``True``.
3+
If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
4+
corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
5+
then the values in ``data`` will be written to the newly created array.

0 commit comments

Comments
 (0)