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.
- df.drop(*cols) returns a new DataFrame without the listed columns. remove, delete, and dropColumns are not PySpark methods. Missing columns raise an error in drop unless they are passed as a list with errors='ignore' in certain wrapper libraries.