pyspark.pandas.Series.dt.year#

dt.year#

The year of the datetime.