xarray.Dataset.pint.drop_sel

Dataset.pint.drop_sel(labels=None, *, errors='raise', **labels_kwargs)

unit-aware version of drop_sel

Just like xarray.Dataset.drop_sel(), except the indexers are converted to the units of the object’s indexes first.