Câu 62: Databricks Certified Associate Developer for Apache Spark
Which of the following code blocks returns a DataFrame sorted alphabetically based on column division?
Nội dung câu hỏi
Which of the following code blocks returns a DataFrame 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.
- A. storesDF.sort("division") — đáp án hiện tại
- B. storesDF.orderBy(desc("division"))
- C. storesDF.orderBy(col("division").desc())
- D. storesDF.orderBy("division", ascending - true)
- 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.