Getting Started
User Guide
API Reference
Development
Migration Guide
Spark SQL
Pandas API on Spark
Input/Output
General functions
Series
DataFrame
Index objects
Window
GroupBy
Machine Learning utilities
Extensions
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming
MLlib (RDD-based)
Spark Core
Resource Management
pyspark.pandas.Series.dt.year
¶
property
dt.
year
¶
The year of the datetime.
pyspark.pandas.Series.dt.date
pyspark.pandas.Series.dt.month