Skip to content

Commit ac993e7

Browse files
authored
DOC: Update timestamp limitations (#52204)
* DOC: Update timestamp limitations * Add comment
1 parent 10000db commit ac993e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/source/user_guide/timeseries.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -507,14 +507,18 @@ used if a custom frequency string is passed.
507507
Timestamp limitations
508508
---------------------
509509

510-
Since pandas represents timestamps in nanosecond resolution, the time span that
510+
The limits of timestamp representation depend on the chosen resolution. For
511+
nanosecond resolution, the time span that
511512
can be represented using a 64-bit integer is limited to approximately 584 years:
512513

513514
.. ipython:: python
514515
515516
pd.Timestamp.min
516517
pd.Timestamp.max
517518
519+
When choosing second-resolution, the available range grows to ``+/- 2.9e11 years``.
520+
Different resolutions can be converted to each other through ``as_unit``.
521+
518522
.. seealso::
519523

520524
:ref:`timeseries.oob`

0 commit comments

Comments
 (0)