# xarray.Coordinates.drop_dims

#### Coordinates.drop_dims(drop_dims, , errors='raise')[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/coordinates.py#L811-L834)

Drop dimensions and associated variables from this dataset.

* **Parameters:**
  * **drop_dims** ([`str`](https://docs.python.org/3/builtins/stdtypes.html#str) or `Iterable` of `Hashable`) – Dimension or dimensions to drop.
  * **errors** (`{"raise", "ignore"}`, *default*: `"raise"`) – If ‘raise’, raises a ValueError error if any of the
    dimensions passed are not in the dataset. If ‘ignore’, any given
    dimensions that are in the dataset are dropped and no error is raised.
* **Returns:**
  **obj** ([`Coordinates`](xarray.Coordinates.html.md#xarray.Coordinates)) – Coordinates object without the given dimensions (or any coordinates
  containing those dimensions).
