drop_coords

method of dascore.core.coordmanager.CoordManager source

drop_coords(
    self ,
    *coords: str | collections.abc.Sequence[str, collections.abc.Sequence[str]] ,
    array: None = None,
)-> ‘tuple[Self, MaybeArray]’

Drop one or more coordinates.

If the coordinate is a dimension, also drop other coords that depend on that dimension.

Parameters

Parameter Description
*coords The name of the coordinate or dimension.