Câu 68: Databricks Certified Associate Developer for Apache Spark
Which of the following code blocks returns a 10 percent sample of rows from DataFrame storesDF with replacement?
Nội dung câu hỏi
Which of the following code blocks returns a 10 percent sample of rows from DataFrame storesDF with replacement?
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.sample(true)
- B. storesDF.sample(true, fraction = 0.1) — đáp án hiện tại
- C. storesDF.sample(true, fraction = 0.15)
- D. storesDF.sampleBy(fraction = 0.1)
- E. storesDF.sample(false, fraction = 0.1)
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.