-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
copy / deepcopy not deepcopying coords? #1463
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
Comments
This seems like a bug. I suspect the problem is in |
We do not allow to assign value in I think we should copy also |
I'd like to take a shot fixing this bug unless someone else already is working on it. Would that be alright? |
go for it! @pletchm . Feel free to open a PR or ask questions if you need help. |
Great @pletchm ! This is a example of a recent similar issue: https://github.com/pydata/xarray/pull/2839/files |
This also doesn't work for So my comment here isn't really correct: #3086 (comment) @pletchm should I have a go at a PR? Happy to take this and you can take another one; I have lots of time atm |
I think this was fixed by #2936. Certainly I can't reproduce the example in the first comment here any more. |
This is fixed! It's not allowing attrs to be passed into |
I don't know if this is intentional, I thought that
arr.copy(deep=True)
ordeepcopy(arr)
would give me completely independent copies of a DateArray, but this seems not be the case?How can I create completely independent copies of a DateArray? I wrote a function for this, but don't know if this really always does what I expect and if there is a more elegant way?
The text was updated successfully, but these errors were encountered: