pandas.Series.dt.year

Series.dt.year

The year of the datetime.

Scroll To Top