drop

UnitsAwareDataArray.drop(labels: Mapping[Any, Any] | None = None, dim: Hashable | None = None, *, errors: ErrorOptions = 'raise', **labels_kwargs) Self

Backward compatible method based on drop_vars and drop_sel

Using either drop_vars or drop_sel is encouraged

See also

DataArray.drop_vars, DataArray.drop_sel