Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2021 02:37 AM
That's correct for weekday moday=0 for dayofweek Sunday=1.
You can also look for documentation here https://spark.apache.org/docs/latest/api/python/reference/api/pyspark.sql.functions.dayofweek.html
https://spark.apache.org/docs/latest/api/sql/index.html
My blog: https://databrickster.medium.com/