File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
97
97
-i " pandas.Period.asfreq SA01" \
98
98
-i " pandas.Period.freq GL08" \
99
99
-i " pandas.Period.freqstr SA01" \
100
- -i " pandas.Period.is_leap_year SA01" \
101
100
-i " pandas.Period.month SA01" \
102
101
-i " pandas.Period.now SA01" \
103
102
-i " pandas.Period.ordinal GL08" \
Original file line number Diff line number Diff line change @@ -2443,6 +2443,12 @@ cdef class _Period(PeriodMixin):
2443
2443
"""
2444
2444
Return True if the period's year is in a leap year.
2445
2445
2446
+ See Also
2447
+ --------
2448
+ Timestamp.is_leap_year : Check if the year in a Timestamp is a leap year.
2449
+ DatetimeIndex.is_leap_year : Boolean indicator if the date belongs to a
2450
+ leap year.
2451
+
2446
2452
Examples
2447
2453
--------
2448
2454
>>> period = pd.Period(' 2022-01' , ' M' )
You can’t perform that action at this time.
0 commit comments