Getting Started
User Guide
Help & reference
DataArray.
copy
Returns a copy of this array.
If deep=True, a deep copy is made of all variables in the underlying dataset. Otherwise, a shallow copy is made, so each variable in the new array’s dataset is also a variable in this array’s dataset.