Câu 77: Databricks Certified Associate Developer for Apache Spark
Which of the following code blocks returns a DataFrame containing only the rows from DataFrame storesDF where the value in column sqft is less than or equal to 25,000 AND the value in column customerSatisfaction is greater than or equal to 30?
Nội dung câu hỏi
Which of the following code blocks returns a DataFrame containing only the rows from DataFrame storesDF where the value in column sqft is less than or equal to 25,000 AND the value in column customerSatisfaction is greater than or equal to 30?
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.filter(col("sqft") = 30)
- B. storesDF.filter(col("sqft") = 30)
- C. storesDF.filter(sqft) = 30)
- D. storesDF.filter(col("sqft") = 30) — đáp án hiện tại
- E. storesDF.filter(sqft = 30)
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.