pyspark.pandas.DatetimeIndex.year#

property DatetimeIndex.year#

The year of the datetime.