xdas.coordinates.SampledCoordinate.slice_indexer#
- SampledCoordinate.slice_indexer(start=None, stop=None, step=None, endpoint=True)#
Return an integer
slicecorresponding to the label range [start, stop].- Parameters:
start (label, optional) – First label to include (inclusive, via
"bfill"look-up).stop (label, optional) – Last label to include (inclusive by default, via
"ffill"look-up).step (not supported) – Reserved; raises
NotImplementedErrorif provided.endpoint (bool, optional) – If
True(default), include stop in the result.
- Return type: