File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ module documentation.
3232
3333Initializing with Data
3434----------------------
35- Pass existing data during array creation for better performance :
35+ Pass existing data during array creation for convenience :
3636
3737.. code-block :: python
3838
@@ -42,17 +42,12 @@ Pass existing data during array creation for better performance:
4242 data = np.random.rand(1000 , 1000 )
4343 arr = zarr.create_array(" data.zarr" , shape = data.shape, data = data)
4444
45- This provides a more concise syntax compared to separate assignment:
46-
45+ Equivalent to separate assignment:
4746.. code-block :: python
4847
49- # Equivalent but verbose
5048 arr = zarr.create_array(" data.zarr" , shape = (1000 , 1000 ))
5149 arr[:] = data
5250
53- .. note ::
54- Both methods leverage async writes when using async-compatible stores like S3.
55-
5651 Reading and writing data
5752------------------------
5853
You can’t perform that action at this time.
0 commit comments