Skip to content

Commit 89285c2

Browse files
remove hour and microsecond
1 parent b615487 commit 89285c2

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
@@ -635,7 +635,7 @@ cdef class _Timestamp(ABCTimestamp):
635635
>>> pd.Timestamp.max
636636
Timestamp('2262-04-11 23:47:16.854775807')
637637
"""
638-
return max
638+
return self.max
639639

640640
@property
641641
def min(self):
@@ -660,7 +660,7 @@ cdef class _Timestamp(ABCTimestamp):
660660
>>> pd.Timestamp.min
661661
Timestamp('1677-09-21 00:12:43.145224193')
662662
"""
663-
return min
663+
return self.min
664664

665665
@property
666666
def is_month_start(self) -> bool:

0 commit comments

Comments
 (0)