-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REGRESSION: copy(deep=True) casts unicode indices to object #3094
Comments
Introduced by c04234d |
Correction, DataArray.copy(deep=False) is not affected. Is it intentional that the default for deep is True in DataArray and False in Dataset? |
I suspect this was intentional, but perhaps it should be changed. I tend to this of a |
Dataset.copy(deep=True) and DataArray.copy (deep=True/False) accidentally cast IndexVariable's with dtype='<U*' to object. Same applies to copy.copy() and copy.deepcopy().
This is a regression in xarray >= 0.12.2. xarray 0.12.1 and earlier are unaffected.
The text was updated successfully, but these errors were encountered: