xarray.DataArray.pint.drop_sel

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

unit-aware version of drop_sel

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