DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK-3-0 practice question 18 of 25

The code block displayed below contains an error. The code block should count the number of rows that have a predError of either 3 or 6. Find the…

Choose your answer, then check it against the explanation.

The code block displayed below contains an error. The code block should count the number of rows that have a predError of either 3 or 6. Find the error. Code block: transactionsDf.filter(col('predError').in([3, 6])).count()
Answer options
Question 18 of 25

Keep practicing

Take the free DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK-3-0 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK-3-0 practice questions

Scroll to Top