File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -612,8 +612,7 @@ cdef class _Timestamp(ABCTimestamp):
612
612
field, freq_name, month_kw, self ._creso)
613
613
return out[0 ]
614
614
615
- @property
616
- def max (self ):
615
+ def max (self ) -> "Timestamp":
617
616
"""
618
617
A constant that represents the maximum valid date and time value.
619
618
@@ -635,10 +634,9 @@ cdef class _Timestamp(ABCTimestamp):
635
634
>>> pd.Timestamp.max
636
635
Timestamp('2262-04-11 23:47:16.854775807')
637
636
"""
638
- return self . max
637
+ return max
639
638
640
- @property
641
- def min (self ):
639
+ def min(self ) -> "Timestamp":
642
640
"""
643
641
Return the minimum representable Timestamp.
644
642
@@ -660,7 +658,7 @@ cdef class _Timestamp(ABCTimestamp):
660
658
>>> pd.Timestamp.min
661
659
Timestamp('1677-09-21 00:12:43.145224193')
662
660
"""
663
- return self . min
661
+ return min
664
662
665
663
@property
666
664
def is_month_start(self ) -> bool:
You can’t perform that action at this time.
0 commit comments