pandas.Series.dt.is_leap_year

Boolean indicator if the date belongs to a leap year.

A leap year is a year, which has 366 days (instead of 365) including 29th of February as an intercalary day. Leap years are years which are multiples of four with the exception of years divisible by 100 but not by 400.

return

Series or ndarray Booleans indicating if dates belong to a leap year.

Warning

This feature is currently unsupported by Intel Scalable Dataframe Compiler