Databricks Certified Associate Developer for Apache Spark
Get started today
Ultimate access to all questions.
Comments
Loading comments...
Which of the following code blocks correctly retrieves the first 3 rows of the DataFrame storesDF?
Exam-Like
A
storesDF.top_n(3)_
4.9%
B
storesDF.n(3)
3.8%
C
storesDF.take(3)
34.2%
D
storesDF.head(3)
48.9%
E
storesDF.collect(3)
8.2%
Powered ByGPT-5.2
Which of the following code blocks correctly retrieves the first 3 rows of the DataFrame `storesDF`? | Databricks Certified Associate Developer for Apache Spark Quiz - LeetQuiz