CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 58: Databricks Certified Associate Developer for Apache Spark

Which of the following code blocks fails to return a DataFrame reverse sorted alphabetically based on column division?

Nội dung câu hỏi

Which of the following code blocks fails to return a DataFrame reverse sorted alphabetically based on column division?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. storesDF.orderBy("division", ascending – False)
  2. B. storesDF.orderBy(["division"], ascending = [0])
  3. C. storesDF.orderBy(col("division").asc()) — đáp án hiện tại
  4. D. storesDF.sort("division", ascending – False)
  5. E. storesDF.sort(desc("division"))

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề