-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Unwanted conversion from timedelta to float (but not datetime) #18493
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
show your version of pandas. |
this was broken in master as well. This will patch, can you do a PR with appropriate tests?
|
tests can go |
Thanks for the fast response! I'm not sure I'll be able to get a dev environment up and running soon. There are various versioning conflicts with Cython that make this more than a five minute job. :-( |
really? http://pandas.pydata.org/pandas-docs/stable/contributing.html#
|
@SDzinklandi the patch is above if you want to submit a PR |
…andas-dev#18586) (cherry picked from commit 0e16818)
In the code below, masked assignment of a timedelta series converts the series values to float64. The same code running against a datetime correctly keeps the series dtype.
The text was updated successfully, but these errors were encountered: