label_indexer
label_indexer(
coord: BaseCoord ,
value: Any ,
method: Literal[‘nearest’] | None = None,
tolerance: Any = None,
)-> ‘int | slice | np.ndarray’
Resolve labels with the pandas index semantics used by xarray.
DASCore 1.0 beta is out! Read the announcement and check the migration guide.
| function of dascore.utils.indexing | source |
label_indexer(
coord: BaseCoord ,
value: Any ,
method: Literal[‘nearest’] | None = None,
tolerance: Any = None,
)-> ‘int | slice | np.ndarray’
Resolve labels with the pandas index semantics used by xarray.