@@ -14,7 +14,7 @@ Creating an array
1414Zarr has several functions for creating arrays. For example::
1515
1616 >>> import zarr
17- >>>
17+ >>> raise Exception(f"Zarr version {zarr.__version__}") # debugging
1818 >>> store = zarr.storage.MemoryStore()
1919 >>> z = zarr.create_array(store=store, shape=(10000, 10000), chunks=(1000, 1000), dtype='int32')
2020 >>> z
@@ -89,7 +89,7 @@ The array above will store its configuration metadata and all compressed chunk
8989data in a directory called ``'data/example-1.zarr' `` relative to the current working
9090directory. The :func: `zarr.create_array ` function provides a convenient way
9191to create a new persistent array or continue working with an existing
92- array. Note, there is no need to close an array: data are automatically
92+ array. Note, there is no need to close an array: data are automatically
9393flushed to disk, and files are automatically closed whenever an array is modified.
9494
9595Persistent arrays support the same interface for reading and writing data,
@@ -158,10 +158,10 @@ used to append data to any axis. E.g.::
158158Compressors
159159-----------
160160
161- A number of different compressors can be used with Zarr. Zarr includes Blosc,
162- Zstandard and Gzip compressors. Additional compressors are available through
161+ A number of different compressors can be used with Zarr. Zarr includes Blosc,
162+ Zstandard and Gzip compressors. Additional compressors are available through
163163a separate package called NumCodecs _ which provides various
164- compressor libraries including LZ4, Zlib, BZ2 and LZMA.
164+ compressor libraries including LZ4, Zlib, BZ2 and LZMA.
165165Different compressors can be provided via the ``compressors `` keyword
166166argument accepted by all array creation functions. For example::
167167
@@ -216,7 +216,7 @@ prints additional diagnostics, e.g.::
216216 statistics are not needed.
217217
218218If you don't specify a compressor, by default Zarr uses the Zstandard
219- compressor.
219+ compressor.
220220
221221In addition to Blosc and Zstandard, other compression libraries can also be used. For example,
222222here is an array using Gzip compression, level 1::
0 commit comments