BUG: Setting timedelta column by index causes it to loss precision #23511
Labels
Bug
Indexing
Related to indexing on series/frames, not to indexes themselves
Numeric Operations
Arithmetic, Comparison, and Logical operations
Timedelta
Timedelta data type
Milestone
Code Sample, a copy-pastable example if possible
Problem description
Setting a timedelta column by index causes it to be casted to double and back. Therefore, it will loss precision.
Expected Output
28767471428571405
Output of
pd.show_versions()
0.23.4
[paste the output of
pd.show_versions()
here below this line]The text was updated successfully, but these errors were encountered: