Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Zarr supports data compression and filters. For example, to use Blosc compressio

>>> z = zarr.create_array(
... "data/example-3.zarr",
... mode="w", shape=(100, 100),
... shape=(100, 100),
... chunks=(10, 10), dtype="f4",
... compressors=zarr.codecs.BloscCodec(cname="zstd", clevel=3, shuffle=zarr.codecs.BloscShuffle.shuffle)
... )
Expand Down Expand Up @@ -153,7 +153,7 @@ using external libraries like `s3fs <https://s3fs.readthedocs.io>`_ or

>>> import s3fs # doctest: +SKIP
>>>
>>> z = zarr.create_array("s3://example-bucket/foo", mode="w", shape=(100, 100), chunks=(10, 10), dtype="f4") # doctest: +SKIP
>>> z = zarr.create_array("s3://example-bucket/foo", shape=(100, 100), chunks=(10, 10), dtype="f4") # doctest: +SKIP
>>> z[:, :] = np.random.random((100, 100)) # doctest: +SKIP

A single-file store can also be created using the the :class:`zarr.storage.ZipStore`::
Expand All @@ -163,7 +163,6 @@ A single-file store can also be created using the the :class:`zarr.storage.ZipSt
>>>
>>> z = zarr.create_array(
... store=store,
... mode="w",
... shape=(100, 100),
... chunks=(10, 10),
... dtype="f4"
Expand Down