We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Variable
vectorized_indexers
1 parent 0a262dd commit 0f5993eCopy full SHA for 0f5993e
1 file changed
xarray_array_testing/strategies.py
@@ -177,7 +177,7 @@ def vectorized_indexers(
177
max_ndim: int = 3,
178
min_size: int = 1,
179
max_size: int = 5,
180
-) -> dict[Hashable, xr.DataArray]:
+) -> dict[Hashable, xr.Variable]:
181
"""Generate vectorized (fancy) indexers where all arrays are broadcastable.
182
183
In vectorized indexing, all array indexers must have compatible shapes
@@ -206,7 +206,7 @@ def vectorized_indexers(
206
207
Returns
208
-------
209
- sizes : mapping of hashable to DataArray or Variable
+ sizes : mapping of hashable to Variable
210
Indexers as a dict with keys randomly selected from sizes.keys().
211
Values are DataArrays of integer indices that are all broadcastable
212
to a common shape.
0 commit comments