Skip to content

Commit

Permalink
fix drop_dims docs (pydata#5313)
Browse files Browse the repository at this point in the history
* document the default value

* replace labels with dimensions [skip-ci]
  • Loading branch information
keewis authored May 15, 2021
1 parent 08955e2 commit d8f759c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -4417,10 +4417,10 @@ def drop_dims(
----------
drop_dims : hashable or iterable of hashable
Dimension or dimensions to drop.
errors : {"raise", "ignore"}, optional
If 'raise' (default), raises a ValueError error if any of the
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
labels that are in the dataset are dropped and no error is raised.
dimensions that are in the dataset are dropped and no error is raised.
Returns
-------
Expand Down

0 comments on commit d8f759c

Please sign in to comment.