xarray.IndexSelResult#
- class xarray.IndexSelResult(dim_indexers, indexes=<factory>, variables=<factory>, drop_coords=<factory>, drop_indexes=<factory>, rename_dims=<factory>)[source]#
Index query results.
- dim_indexers#
A dictionary where keys are array dimensions and values are location-based indexers.
- Type
- rename_dims#
A dictionary in the form
{old_dim: new_dim}
for dimension(s) to rename in the resulting DataArray or Dataset.- Type
dict
, optional
- __init__(dim_indexers, indexes=<factory>, variables=<factory>, drop_coords=<factory>, drop_indexes=<factory>, rename_dims=<factory>)[source]#
Methods
__init__
(dim_indexers[, indexes, variables, ...])as_tuple
()Unlike
dataclasses.astuple
, return a shallow copy.Attributes