We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9fd868 commit a5d7e51Copy full SHA for a5d7e51
pandas/core/tools/datetimes.py
@@ -895,7 +895,7 @@ def to_datetime(
895
896
>>> pd.to_datetime(1490195805, unit="s")
897
Timestamp('2017-03-22 15:16:45')
898
- >>> pd.to_datetime(1490195805433502912, unit="s")
+ >>> pd.to_datetime(1490195805433502912, unit="ns")
899
Timestamp('2017-03-22 15:16:45.433502912')
900
901
.. warning:: For float arg, precision rounding might happen. To prevent
0 commit comments