xarray.Dataset.drop_attrs#

Dataset.drop_attrs(*, deep=True)[source]#

Removes all attributes from the Dataset and its variables.

Parameters:

deep (bool, default True) – Removes attributes from all variables.

Returns:

Dataset