@@ -225,11 +225,11 @@ def __getitem__(self, item):
225
225
226
226
>>> import zarr
227
227
>>> import numpy as np
228
- >>> z = zarr.array(np.arange(100000000), chunks=1000000)
228
+ >>> z = zarr.array(np.arange(100000000), chunks=1000000, dtype='i4' )
229
229
>>> z
230
- zarr.core.Array((100000000,), int64 , chunks=(1000000,), order=C)
230
+ zarr.core.Array((100000000,), int32 , chunks=(1000000,), order=C)
231
231
compression: blosc; compression_opts: {'clevel': 5, 'cname': 'blosclz', 'shuffle': 1}
232
- nbytes: 762.9M ; nbytes_stored: 13.5M ; ratio: 56.6 ; initialized: 100/100
232
+ nbytes: 381.5M ; nbytes_stored: 6.8M ; ratio: 56.0 ; initialized: 100/100
233
233
store: builtins.dict
234
234
235
235
Take some slices::
@@ -250,11 +250,11 @@ def __getitem__(self, item):
250
250
>>> import zarr
251
251
>>> import numpy as np
252
252
>>> z = zarr.array(np.arange(100000000).reshape(10000, 10000),
253
- ... chunks=(1000, 1000))
253
+ ... chunks=(1000, 1000), dtype='i4' )
254
254
>>> z
255
- zarr.core.Array((10000, 10000), int64 , chunks=(1000, 1000), order=C)
255
+ zarr.core.Array((10000, 10000), int32 , chunks=(1000, 1000), order=C)
256
256
compression: blosc; compression_opts: {'clevel': 5, 'cname': 'blosclz', 'shuffle': 1}
257
- nbytes: 762.9M ; nbytes_stored: 16.8M ; ratio: 45.5 ; initialized: 100/100
257
+ nbytes: 381.5M ; nbytes_stored: 10.0M ; ratio: 38.0 ; initialized: 100/100
258
258
store: builtins.dict
259
259
260
260
Take some slices::
0 commit comments