@@ -30,7 +30,7 @@ def _zonal_stats_rasterize(
30
30
x_coords : Hashable ,
31
31
y_coords : Hashable ,
32
32
stats : str | Callable | Sequence [str | Callable | tuple ] = "mean" ,
33
- name : Hashable = "geometry" ,
33
+ name : str = "geometry" ,
34
34
all_touched : bool = False ,
35
35
** kwargs ,
36
36
) -> xr .DataArray | xr .Dataset :
@@ -105,7 +105,7 @@ def _zonal_stats_iterative(
105
105
x_coords : Hashable ,
106
106
y_coords : Hashable ,
107
107
stats : str | Callable | Sequence [str | Callable | tuple ] = "mean" ,
108
- name : Hashable = "geometry" ,
108
+ name : str = "geometry" ,
109
109
all_touched : bool = False ,
110
110
n_jobs : int = - 1 ,
111
111
** kwargs : dict [str , Any ],
@@ -133,7 +133,7 @@ def _zonal_stats_iterative(
133
133
:meth:`~xarray.DataArray.max`, or :meth:`~xarray.DataArray.quantile`,
134
134
methods are available. Alternatively, you can pass a ``Callable`` supported
135
135
by :meth:`~xarray.DataArray.reduce`.
136
- name : Hashable , optional
136
+ name : str , optional
137
137
Name of the dimension that will hold the ``geometry``, by default "geometry"
138
138
all_touched : bool, optional
139
139
If True, all pixels touched by geometries will be considered. If False, only
0 commit comments