Skip to content

Commit d5f67b2

Browse files
committed
BUG: series from dict of Timedelta scalar drops nanoseconds
add test
1 parent 2a334c9 commit d5f67b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,7 @@ def float_frame():
703703
DatetimeTZDtype(tz="US/Eastern"),
704704
),
705705
(Timedelta(seconds=500), "timedelta64[ns]"),
706+
(Timedelta(nanoseconds=1), "timedelta64[ns]"), # GH38032
706707
]
707708
)
708709
def ea_scalar_and_dtype(request):

0 commit comments

Comments
 (0)