Skip to content

Commit 1c3d193

Browse files
author
Matt Roeschke
committed
Add versionadded
1 parent 88116bf commit 1c3d193

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

pandas/_libs/tslibs/nattype.pyx

+6
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,8 @@ class NaTType(_NaT):
483483
that this flag is only applicable for ambiguous fall dst dates)
484484
- 'NaT' will return NaT for an ambiguous time
485485
- 'raise' will raise an AmbiguousTimeError for an ambiguous time
486+
487+
.. versionadded:: 0.24.0
486488
487489
Raises
488490
------
@@ -500,6 +502,8 @@ class NaTType(_NaT):
500502
that this flag is only applicable for ambiguous fall dst dates)
501503
- 'NaT' will return NaT for an ambiguous time
502504
- 'raise' will raise an AmbiguousTimeError for an ambiguous time
505+
506+
.. versionadded:: 0.24.0
503507
504508
Raises
505509
------
@@ -517,6 +521,8 @@ class NaTType(_NaT):
517521
that this flag is only applicable for ambiguous fall dst dates)
518522
- 'NaT' will return NaT for an ambiguous time
519523
- 'raise' will raise an AmbiguousTimeError for an ambiguous time
524+
525+
.. versionadded:: 0.24.0
520526
521527
Raises
522528
------

pandas/_libs/tslibs/timestamps.pyx

+6
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,8 @@ class Timestamp(_Timestamp):
688688
- 'NaT' will return NaT for an ambiguous time
689689
- 'raise' will raise an AmbiguousTimeError for an ambiguous time
690690
691+
.. versionadded:: 0.24.0
692+
691693
Raises
692694
------
693695
ValueError if the freq cannot be converted
@@ -707,6 +709,8 @@ class Timestamp(_Timestamp):
707709
- 'NaT' will return NaT for an ambiguous time
708710
- 'raise' will raise an AmbiguousTimeError for an ambiguous time
709711
712+
.. versionadded:: 0.24.0
713+
710714
Raises
711715
------
712716
ValueError if the freq cannot be converted
@@ -726,6 +730,8 @@ class Timestamp(_Timestamp):
726730
- 'NaT' will return NaT for an ambiguous time
727731
- 'raise' will raise an AmbiguousTimeError for an ambiguous time
728732
733+
.. versionadded:: 0.24.0
734+
729735
Raises
730736
------
731737
ValueError if the freq cannot be converted

pandas/core/indexes/datetimelike.py

+2
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ class TimelikeOps(object):
109109
- 'raise' will raise an AmbiguousTimeError if there are ambiguous
110110
times
111111
Only relevant for DatetimeIndex
112+
113+
.. versionadded:: 0.24.0
112114
113115
Returns
114116
-------

0 commit comments

Comments
 (0)