Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Databricks Certified Associate Developer for Apache Spark · Databricks
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
- take(n) is an action returning the first n rows as a list of Row objects. show(n) prints them to stdout and returns None. head() returns just the first Row (or first n when called with n). limit(n) is a transformation that returns a new DataFrame, not rows.