Weekend Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: coponace

Which of the following code blocks returns all unique values of column storeId in DataFrame...

Which of the following code blocks returns all unique values of column storeId in DataFrame transactionsDf?

A.

transactionsDf["storeId"].distinct()

B.

transactionsDf.select("storeId").distinct()

(Correct)

C.

transactionsDf.filter("storeId").distinct()

D.

transactionsDf.select(col("storeId").distinct())

E.

transactionsDf.distinct("storeId")

Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 pdf
Get 70% Discount on All Products, Use Coupon: "coponace"