Skip to content

Commit a5d7e51

Browse files
committed
fix doctest
1 parent f9fd868 commit a5d7e51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/tools/datetimes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ def to_datetime(
895895
896896
>>> pd.to_datetime(1490195805, unit="s")
897897
Timestamp('2017-03-22 15:16:45')
898-
>>> pd.to_datetime(1490195805433502912, unit="s")
898+
>>> pd.to_datetime(1490195805433502912, unit="ns")
899899
Timestamp('2017-03-22 15:16:45.433502912')
900900
901901
.. warning:: For float arg, precision rounding might happen. To prevent

0 commit comments

Comments
 (0)