Closed
Description
It is not documented that the inplace argument to Dataset.update defaults to True, in a departure from every other place where the inplace argument exists (I see this was briefly mentioned in #1756).
Currently the documentation reads:
Dataset.update(other, inplace=None)
...
inplace:bool, optional
If True, merge the other dataset into this dataset in-place. Otherwise, return a new dataset object.
I had to dig into the source code to understand why new_ds = ds.update(changes)
was causing changes to ds. It needs to be documented that update is one of the few mutable functions on a dataset.