LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Databricks Certified Data Engineer - Associate

Databricks Certified Data Engineer - Associate

Get started today

Ultimate access to all questions.


Comments

Loading comments...

You have a DataFrame df with a column timestamp in timestamp format. How would you extract the day of the week from this timestamp and create a new column day_of_week using Spark? Provide the code snippet.

Simulated



Powered ByGPT-5