@@ -1498,7 +1498,8 @@ async def tree(self, expand: bool | None = None, level: int | None = None) -> An
14981498    async  def  empty (
14991499        self , * , name : str , shape : ChunkCoords , ** kwargs : Any 
15001500    ) ->  AsyncArray [ArrayV2Metadata ] |  AsyncArray [ArrayV3Metadata ]:
1501-         """Create an empty array in this Group. 
1501+         """Create an empty array with the specified shape in this Group. The contents will 
1502+         be filled with the array's fill value or zeros if no fill value is provided. 
15021503
15031504        Parameters 
15041505        ---------- 
@@ -1515,7 +1516,6 @@ async def empty(
15151516        retrieve data from an empty Zarr array, any values may be returned, 
15161517        and these are not guaranteed to be stable from one access to the next. 
15171518        """ 
1518- 
15191519        return  await  async_api .empty (shape = shape , store = self .store_path , path = name , ** kwargs )
15201520
15211521    async  def  zeros (
@@ -1592,7 +1592,8 @@ async def full(
15921592    async  def  empty_like (
15931593        self , * , name : str , data : async_api .ArrayLike , ** kwargs : Any 
15941594    ) ->  AsyncArray [ArrayV2Metadata ] |  AsyncArray [ArrayV3Metadata ]:
1595-         """Create an empty sub-array like `data`. 
1595+         """Create an empty sub-array like `data`. The contents will be filled with 
1596+         the array's fill value or zeros if no fill value is provided. 
15961597
15971598        Parameters 
15981599        ---------- 
@@ -2442,7 +2443,8 @@ def require_array(self, name: str, *, shape: ShapeLike, **kwargs: Any) -> Array:
24422443
24432444    @_deprecate_positional_args  
24442445    def  empty (self , * , name : str , shape : ChunkCoords , ** kwargs : Any ) ->  Array :
2445-         """Create an empty array in this Group. 
2446+         """Create an empty array with the specified shape in this Group. The contents will be filled with 
2447+         the array's fill value or zeros if no fill value is provided. 
24462448
24472449        Parameters 
24482450        ---------- 
@@ -2531,7 +2533,8 @@ def full(
25312533
25322534    @_deprecate_positional_args  
25332535    def  empty_like (self , * , name : str , data : async_api .ArrayLike , ** kwargs : Any ) ->  Array :
2534-         """Create an empty sub-array like `data`. 
2536+         """Create an empty sub-array like `data`. The contents will be filled 
2537+         with the array's fill value or zeros if no fill value is provided. 
25352538
25362539        Parameters 
25372540        ---------- 
@@ -2546,6 +2549,12 @@ def empty_like(self, *, name: str, data: async_api.ArrayLike, **kwargs: Any) ->
25462549        ------- 
25472550        Array 
25482551            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. 
25492558        """ 
25502559        return  Array (self ._sync (self ._async_group .empty_like (name = name , data = data , ** kwargs )))
25512560
0 commit comments