pyspark.pandas.Series.dt.year ============================= .. currentmodule:: pyspark.pandas.Series .. autoattribute:: dt.year