pyspark.pandas.DatetimeIndex.week

property DatetimeIndex.week

The week ordinal of the year.

Deprecated since version 3.5.0.