@@ -687,6 +687,14 @@ cdef class _Timestamp(ABCTimestamp):
687
687
"""
688
688
Return True if date is first day of the year.
689
689
690
+ Returns
691
+ -------
692
+ bool
693
+
694
+ See Also
695
+ --------
696
+ Timestamp.is_year_end : Similar property indicating the end of the year.
697
+
690
698
Examples
691
699
--------
692
700
>>> ts = pd.Timestamp(2020 , 3 , 14 )
@@ -704,6 +712,14 @@ cdef class _Timestamp(ABCTimestamp):
704
712
"""
705
713
Return True if date is last day of the year.
706
714
715
+ Returns
716
+ -------
717
+ bool
718
+
719
+ See Also
720
+ --------
721
+ Timestamp.is_year_start : Similar property indicating the start of the year.
722
+
707
723
Examples
708
724
--------
709
725
>>> ts = pd.Timestamp(2020 , 3 , 14 )
@@ -785,6 +801,10 @@ cdef class _Timestamp(ABCTimestamp):
785
801
"""
786
802
Return True if year is a leap year.
787
803
804
+ Returns
805
+ -------
806
+ bool
807
+
788
808
Examples
789
809
--------
790
810
>>> ts = pd.Timestamp(2020 , 3 , 14 )
@@ -798,6 +818,10 @@ cdef class _Timestamp(ABCTimestamp):
798
818
"""
799
819
Return day of the week.
800
820
821
+ Returns
822
+ -------
823
+ int
824
+
801
825
Examples
802
826
--------
803
827
>>> ts = pd.Timestamp(2020 , 3 , 14 )
@@ -811,6 +835,10 @@ cdef class _Timestamp(ABCTimestamp):
811
835
"""
812
836
Return the day of the year.
813
837
838
+ Returns
839
+ -------
840
+ int
841
+
814
842
Examples
815
843
--------
816
844
>>> ts = pd.Timestamp(2020 , 3 , 14 )
@@ -824,6 +852,10 @@ cdef class _Timestamp(ABCTimestamp):
824
852
"""
825
853
Return the quarter of the year.
826
854
855
+ Returns
856
+ -------
857
+ int
858
+
827
859
Examples
828
860
--------
829
861
>>> ts = pd.Timestamp(2020 , 3 , 14 )
@@ -837,6 +869,10 @@ cdef class _Timestamp(ABCTimestamp):
837
869
"""
838
870
Return the week number of the year.
839
871
872
+ Returns
873
+ -------
874
+ int
875
+
840
876
Examples
841
877
--------
842
878
>>> ts = pd.Timestamp(2020 , 3 , 14 )
@@ -850,6 +886,10 @@ cdef class _Timestamp(ABCTimestamp):
850
886
"""
851
887
Return the number of days in the month.
852
888
889
+ Returns
890
+ -------
891
+ int
892
+
853
893
Examples
854
894
--------
855
895
>>> ts = pd.Timestamp(2020 , 3 , 14 )
0 commit comments