@@ -1516,7 +1516,6 @@ async def empty(
15161516 retrieve data from an empty Zarr array, any values may be returned,
15171517 and these are not guaranteed to be stable from one access to the next.
15181518 """
1519-
15201519 return await async_api .empty (shape = shape , store = self .store_path , path = name , ** kwargs )
15211520
15221521 async def zeros (
@@ -2456,6 +2455,11 @@ def empty(self, *, name: str, shape: ChunkCoords, **kwargs: Any) -> Array:
24562455 **kwargs
24572456 Keyword arguments passed to :func:`zarr.api.asynchronous.create`.
24582457
2458+ Notes
2459+ -----
2460+ The contents of an empty Zarr array are not defined. On attempting to
2461+ retrieve data from an empty Zarr array, any values may be returned,
2462+ and these are not guaranteed to be stable from one access to the next.
24592463 """
24602464 return Array (self ._sync (self ._async_group .empty (name = name , shape = shape , ** kwargs )))
24612465
@@ -2545,6 +2549,12 @@ def empty_like(self, *, name: str, data: async_api.ArrayLike, **kwargs: Any) ->
25452549 -------
25462550 Array
25472551 The new array.
2552+
2553+ Notes
2554+ -----
2555+ The contents of an empty Zarr array are not defined. On attempting to
2556+ retrieve data from an empty Zarr array, any values may be returned,
2557+ and these are not guaranteed to be stable from one access to the next.
25482558 """
25492559 return Array (self ._sync (self ._async_group .empty_like (name = name , data = data , ** kwargs )))
25502560
0 commit comments