Databricks Certified Associate Developer for Apache Spark 3.5-Python Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 Question # 14 Topic 2 Discussion

Databricks Certified Associate Developer for Apache Spark 3.5-Python Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 Question # 14 Topic 2 Discussion

Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 Exam Topic 2 Question 14 Discussion:
Question #: 14
Topic #: 2

A Data Analyst needs to retrieve employees with 5 or more years of tenure.

Which code snippet filters and shows the list?


A.

employees_df.filter(employees_df.tenure >= 5).show()


B.

employees_df.where(employees_df.tenure >= 5)


C.

filter(employees_df.tenure >= 5)


D.

employees_df.filter(employees_df.tenure >= 5).collect()


Get Premium Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.