We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On pandas 0.23 (correct):
In [2]: pd.to_timedelta('NaT', box=False) Out[2]: numpy.timedelta64('NaT','ns')
But on pandas 0.24:
In [2]: pd.to_timedelta('NaT', box=False) Out[2]: numpy.datetime64('NaT')
The result is a datetime, not a timedelta.
The text was updated successfully, but these errors were encountered:
looks like a bug; note that box parameter is going away in any event
Sorry, something went wrong.
I hope there's a deprecation cycle planned? (We use box downstream in xarray.)
box
yes there is an issue about this
xref #24416
I’m pretty sure one of my recent PRs broke this, will make a fix shortly.
@shoyer we're about to remove the box=False option for to_timedelta in #30177, will this break things for xarray?
box=False
to_timedelta
Successfully merging a pull request may close this issue.
On pandas 0.23 (correct):
But on pandas 0.24:
The result is a datetime, not a timedelta.
The text was updated successfully, but these errors were encountered: