Open
Description
Is your feature request related to a problem?
A new option for Dataset
and DataArray
.copy()
function. Something between deep=True and deep=False.
#9836 here it was identified that everything in xarray is threadsafe, but the PandasIndex is not.
A shallow copy of the data, variables, coordinates + deep copy of the index is required for the fastest and most efficient thread-safe copy
Describe the solution you'd like
Add .copy(deep='threadsafe')
or similar.
Describe alternatives you've considered
No response
Additional context
No response