@@ -933,9 +933,11 @@ def from_array(
933933 chunks : ChunkCoords or "auto" or "keep", optional
934934 Chunk shape of the array.
935935 Following values are supported:
936- - "auto": Automatically determine the chunk shape based on the array's shape and dtype.
937- - "keep": Retain the chunk shape of the data array if it is a zarr Array.
938- - ChunkCoords: A tuple of integers representing the chunk shape.
936+
937+ - "auto": Automatically determine the chunk shape based on the array's shape and dtype.
938+ - "keep": Retain the chunk shape of the data array if it is a zarr Array.
939+ - ChunkCoords: A tuple of integers representing the chunk shape.
940+
939941 If not specified, defaults to "keep" if data is a zarr Array, otherwise "auto".
940942 shards : ChunkCoords, optional
941943 Shard shape of the array. The default value of ``None`` results in no sharding at all.
@@ -951,9 +953,11 @@ def from_array(
951953 the order if your filters is consistent with the behavior of each filter.
952954
953955 Following values are supported:
956+
954957 - Iterable[Codec]: List of filters to apply to the array.
955958 - "auto": Automatically determine the filters based on the array's dtype.
956959 - "keep": Retain the filters of the data array if it is a zarr Array.
960+
957961 If no ``filters`` are provided, defaults to "keep" if data is a zarr Array, otherwise "auto".
958962 compressors : Iterable[Codec] or "auto" or "keep", optional
959963 List of compressors to apply to the array. Compressors are applied in order, and after any
@@ -966,15 +970,18 @@ def from_array(
966970 be provided for Zarr format 2.
967971
968972 Following values are supported:
973+
969974 - Iterable[Codec]: List of compressors to apply to the array.
970975 - "auto": Automatically determine the compressors based on the array's dtype.
971976 - "keep": Retain the compressors of the input array if it is a zarr Array.
977+
972978 If no ``compressors`` are provided, defaults to "keep" if data is a zarr Array, otherwise "auto".
973979 serializer : dict[str, JSON] | ArrayBytesCodec or "auto" or "keep", optional
974980 Array-to-bytes codec to use for encoding the array data.
975981 Zarr format 3 only. Zarr format 2 arrays use implicit array-to-bytes conversion.
976982
977983 Following values are supported:
984+
978985 - dict[str, JSON]: A dict representation of an ``ArrayBytesCodec``.
979986 - ArrayBytesCodec: An instance of ``ArrayBytesCodec``.
980987 - "auto": a default serializer will be used. These defaults can be changed by modifying the value of
@@ -1062,7 +1069,6 @@ def from_array(
10621069 >>> arr5[...]
10631070 [[0 0]
10641071 [0 0]]
1065-
10661072 """
10671073 return Array (
10681074 sync (
0 commit comments