xray.Dataset.drop_vars

Dataset.drop_vars(*names)

Returns a new dataset without the named variables.

Parameters:

*names : str

Names of the variables to omit from the returned object.

Returns:

Dataset

New dataset based on this dataset. Only the named variables are removed.