@@ -1045,11 +1045,14 @@ async def create_array(
10451045 An iterable of Codec or dict serializations of Codecs. The elements of
10461046 this collection specify the transformation from array values to stored bytes.
10471047 V3 only. V2 arrays should use ``filters`` and ``compressor`` instead.
1048+
10481049 If no codecs are provided, default codecs will be used:
1050+
10491051 - For numeric arrays, the default is ``BytesCodec`` and ``ZstdCodec``.
10501052 - For Unicode strings, the default is ``VLenUTF8Codec``.
10511053 - For bytes or objects, the default is ``VLenBytesCodec``.
1052- These defaults can be changed using the ``array.v3_default_codecs`` variable in :mod:`zarr.core.config`.
1054+
1055+ These defaults can be changed by modifying the value of ``array.v3_default_codecs`` in :mod:`zarr.core.config`.
10531056 dimension_names : Iterable[str] | None = None
10541057 The names of the dimensions of the array. V3 only.
10551058 chunks : ChunkCoords | None = None
@@ -1069,11 +1072,14 @@ async def create_array(
10691072 compressor : dict[str, JSON] | None = None
10701073 The compressor used to compress the data (default is None).
10711074 V2 only. V3 arrays should use ``codecs`` instead.
1075+
10721076 If neither ``compressor`` nor ``filters`` are provided, a default compressor will be used:
1077+
10731078 - For numeric arrays, the default is ``ZstdCodec``.
10741079 - For Unicode strings, the default is ``VLenUTF8Codec``.
10751080 - For bytes or objects, the default is ``VLenBytesCodec``.
1076- These defaults can be changed using the ``array.v2_default_compressor`` variable in :mod:`zarr.core.config`.
1081+
1082+ These defaults can be changed by modifying the value of ``array.v2_default_compressor`` in :mod:`zarr.core.config`.
10771083 overwrite : bool = False
10781084 If True, a pre-existing array or group at the path of this array will
10791085 be overwritten. If False, the presence of a pre-existing array or group is
@@ -2266,11 +2272,14 @@ def create_array(
22662272 An iterable of Codec or dict serializations of Codecs. The elements of
22672273 this collection specify the transformation from array values to stored bytes.
22682274 V3 only. V2 arrays should use ``filters`` and ``compressor`` instead.
2275+
22692276 If no codecs are provided, default codecs will be used:
2277+
22702278 - For numeric arrays, the default is ``BytesCodec`` and ``ZstdCodec``.
22712279 - For Unicode strings, the default is ``VLenUTF8Codec``.
22722280 - For bytes or objects, the default is ``VLenBytesCodec``.
2273- These defaults can be changed using the ``array.v3_default_codecs`` variable in :mod:`zarr.core.config`.
2281+
2282+ These defaults can be changed by modifying the value of ``array.v3_default_codecs`` in :mod:`zarr.core.config`.
22742283 dimension_names : Iterable[str] | None = None
22752284 The names of the dimensions of the array. V3 only.
22762285 chunks : ChunkCoords | None = None
@@ -2290,11 +2299,14 @@ def create_array(
22902299 compressor : dict[str, JSON] | None = None
22912300 The compressor used to compress the data (default is None).
22922301 V2 only. V3 arrays should use ``codecs`` instead.
2302+
22932303 If neither ``compressor`` nor ``filters`` are provided, a default compressor will be used:
2304+
22942305 - For numeric arrays, the default is ``ZstdCodec``.
22952306 - For Unicode strings, the default is ``VLenUTF8Codec``.
22962307 - For bytes or objects, the default is ``VLenBytesCodec``.
2297- These defaults can be changed using the ``array.v2_default_compressor`` variable in :mod:`zarr.core.config`.
2308+
2309+ These defaults can be changed by modifying the value of ``array.v2_default_compressor`` in :mod:`zarr.core.config`.
22982310 overwrite : bool = False
22992311 If True, a pre-existing array or group at the path of this array will
23002312 be overwritten. If False, the presence of a pre-existing array or group is
@@ -2630,11 +2642,14 @@ def array(
26302642 An iterable of Codec or dict serializations of Codecs. The elements of
26312643 this collection specify the transformation from array values to stored bytes.
26322644 V3 only. V2 arrays should use ``filters`` and ``compressor`` instead.
2645+
26332646 If no codecs are provided, default codecs will be used:
2647+
26342648 - For numeric arrays, the default is ``BytesCodec`` and ``ZstdCodec``.
26352649 - For Unicode strings, the default is ``VLenUTF8Codec``.
26362650 - For bytes or objects, the default is ``VLenBytesCodec``.
2637- These defaults can be changed using the ``array.v3_default_codecs`` variable in :mod:`zarr.core.config`.
2651+
2652+ These defaults can be changed by modifying the value of ``array.v3_default_codecs`` in :mod:`zarr.core.config`.
26382653 dimension_names : Iterable[str] | None = None
26392654 The names of the dimensions of the array. V3 only.
26402655 chunks : ChunkCoords | None = None
@@ -2654,11 +2669,14 @@ def array(
26542669 compressor : dict[str, JSON] | None = None
26552670 The compressor used to compress the data (default is None).
26562671 V2 only. V3 arrays should use ``codecs`` instead.
2672+
26572673 If neither ``compressor`` nor ``filters`` are provided, a default compressor will be used:
2674+
26582675 - For numeric arrays, the default is ``ZstdCodec``.
26592676 - For Unicode strings, the default is ``VLenUTF8Codec``.
26602677 - For bytes or objects, the default is ``VLenBytesCodec``.
2661- These defaults can be changed using the ``array.v2_default_compressor`` variable in :mod:`zarr.core.config`.
2678+
2679+ These defaults can be changed by modifying the value of ``array.v2_default_compressor`` in :mod:`zarr.core.config`.
26622680 overwrite : bool = False
26632681 If True, a pre-existing array or group at the path of this array will
26642682 be overwritten. If False, the presence of a pre-existing array or group is
0 commit comments