DataArray.drop_sel(labels=None, *, errors='raise', **labels_kwargs)[source]#

Drop index labels from this DataArray.

  • labels (mapping of Hashable to Any) – Index labels to drop

  • errors ({"raise", "ignore"}, default: "raise") – If ‘raise’, raises a ValueError error if any of the index labels passed are not in the dataset. If ‘ignore’, any given labels that are in the dataset are dropped and no error is raised.

  • **labels_kwargs ({dim: label, ...}, optional) – The keyword arguments form of dim and labels


dropped (DataArray)