-
I have the same problem as this question on stack overflow. To convert the time whose type is "object" to datetime64, we need to run |
Beta Was this translation helpful? Give feedback.
Answered by
keewis
Jun 21, 2022
Replies: 1 comment 1 reply
-
Usually I'd try using ds["time"] = ds["time"].astype("datetime64[ns]") If that does not work, could you post a example I can use to reproduce your issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zxdawn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usually I'd try using
If that does not work, could you post a example I can use to reproduce your issue?