Skip to content

Commit b267b98

Browse files
committed
warning about converting to int
1 parent 7eaca50 commit b267b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ In cases with mixed-resolution inputs, the highest resolution is used:
376376
In [2]: pd.to_datetime([pd.Timestamp("2024-03-22 11:43:01"), "2024-03-22 11:43:01.002"]).dtype
377377
Out[2]: dtype('<M8[ns]')
378378
379-
Many users will now get "M8[us]" dtype data in cases when they used to get "M8[ns]". For most use cases they should not notice a difference. One big exception is converting to integers, which will give integers 1000x smaller.
379+
.. warning:: Many users will now get "M8[us]" dtype data in cases when they used to get "M8[ns]". For most use cases they should not notice a difference. One big exception is converting to integers, which will give integers 1000x smaller.
380380

381381
.. _whatsnew_300.api_breaking.concat_datetime_sorting:
382382

0 commit comments

Comments
 (0)