Skip to content

Commit 83111b4

Browse files
Update resize doc (#1022)
* docs: more comments added for resize method * docs: minor grammar fix Co-authored-by: Hailiang Zhang <[email protected]>
1 parent ab6b355 commit 83111b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zarr/core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2406,6 +2406,10 @@ def resize(self, *args):
24062406
24072407
If one or more dimensions are shrunk, any chunks falling outside the
24082408
new array shape will be deleted from the underlying store.
2409+
However, it is noteworthy that the chunks partially falling inside the new array
2410+
(i.e. boundary chunks) will remain intact, and therefore,
2411+
the data falling outside the new array but inside the boundary chunks
2412+
would be restored by a subsequent resize operation that grows the array size.
24092413
24102414
"""
24112415

0 commit comments

Comments
 (0)