Skip to content

Commit 609eac3

Browse files
committed
fix pandas.Timestamp.fold GL08
1 parent cd36acb commit 609eac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/tslibs/timestamps.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,9 +1003,9 @@ cdef class _Timestamp(ABCTimestamp):
10031003

10041004
Examples
10051005
--------
1006-
>>> ts = pd.Timestamp("2024-11-03 01:30:00", fold=1, tz="America/New_York")
1006+
>>> ts = pd.Timestamp("2024-11-03 01:30:00")
10071007
>>> ts.fold
1008-
1
1008+
0
10091009
"""
10101010
return super().fold
10111011

0 commit comments

Comments
 (0)