File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -632,16 +632,15 @@ cdef class _Timestamp(ABCTimestamp):
632
632
633
633
Examples
634
634
--------
635
- >>> ts = pd.Timestamp(' 2024-08-23 14:30:15.123456' )
636
- >>> ts.microsecond
637
- 123456
635
+ >>> ts = pd.Timestamp(' 2024-08-23 14:30:15.123456' )
636
+ >>> ts.microsecond
637
+ 123456
638
638
"""
639
639
return self.microsecond
640
640
641
641
def max(self ):
642
642
"""
643
- A constant that represents the maximum valid date and time value for a
644
- pandas Timestamp object.
643
+ A constant that represents the maximum valid date and time value.
645
644
646
645
This property returns the highest datetime value that can be represented
647
646
by a pandas.Timestamp object, which is equivalent to
@@ -654,13 +653,12 @@ cdef class _Timestamp(ABCTimestamp):
654
653
655
654
See Also
656
655
--------
657
- Timestamp.min : Return the minimum valid date and time value for
658
- pandas Timestamp object.
656
+ Timestamp.min : Return the minimum valid date and time value for Timestamp.
659
657
660
658
Examples
661
659
--------
662
- >>> pd.Timestamp.max
663
- Timestamp('2262-04-11 23:47:16.854775807')
660
+ >>> pd.Timestamp.max
661
+ Timestamp('2262-04-11 23:47:16.854775807')
664
662
"""
665
663
return max
666
664
@@ -706,13 +704,13 @@ cdef class _Timestamp(ABCTimestamp):
706
704
707
705
Examples
708
706
--------
709
- >>> ts = pd.Timestamp(' 2020-03-14T12:32:52.192548651' )
710
- >>> ts.hour()
711
- 12
707
+ >>> ts = pd.Timestamp(' 2020-03-14T12:32:52.192548651' )
708
+ >>> ts.hour()
709
+ 12
712
710
713
- >>> ts = pd.Timestamp(' 2020-03-14T22:43:12.192547851' )
714
- >>> ts.hour()
715
- 22
711
+ >>> ts = pd.Timestamp(' 2020-03-14T22:43:12.192547851' )
712
+ >>> ts.hour()
713
+ 22
716
714
"""
717
715
return self.hour
718
716
You can’t perform that action at this time.
0 commit comments