DatetimeIndex.
year
The year of the datetime.
previous
pyspark.pandas.DatetimeIndex
next
pyspark.pandas.DatetimeIndex.month