Databricks
DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK · Question #134
The code block shown below should return a new 12-partition DataFrame from DataFrame storesDF. Choose the response that correctly fills in the numbered blanks within the code block to complete this…
The correct answer is D. 1. storesDF. See the full explanation below for the reasoning.
Working with Spark DataFrames
Question
The code block shown below should return a new 12-partition DataFrame from DataFrame storesDF. Choose the response that correctly fills in the numbered blanks within the code block to complete this task. Code block:
1.2(3)
Options
- A
- storesDF
- B
- storesDF
- C
- storesDF
- D
- storesDF
- E
- storesDF
How the community answered
(35 responses)- A6% (2)
- C3% (1)
- D89% (31)
- E3% (1)
Topics
#Spark DataFrame API#Data Partitioning#Spark Transformations
Community Discussion
No community discussion yet for this question.