pandas.Timestamp.is_leap_year#
- Timestamp.is_leap_year#
Return True if year is a leap year.
- Returns:
- bool
Examples
>>> ts = pd.Timestamp(2020, 3, 14) >>> ts.is_leap_year True
Site Navigation
Return True if year is a leap year.
Examples
>>> ts = pd.Timestamp(2020, 3, 14)
>>> ts.is_leap_year
True