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

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

Which of the following code blocks returns a new DataFrame where column sqft from DataFrame storesDF has had its missing values replaced with the value 30,000?A sample of DataFrame storesDF is below:

Nội dung câu hỏi

Which of the following code blocks returns a new DataFrame where column sqft from DataFrame storesDF has had its missing values replaced with the value 30,000?A sample of DataFrame storesDF is below:

Minh họa câu hỏi

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.na.fill(30000, Seq("sqft"))
  2. B. storesDF.nafill(30000, col("sqft"))
  3. C. storesDF.na.fill(30000, col("sqft"))
  4. D. storesDF.fillna(30000, col("sqft"))
  5. E. storesDF.na.fill(30000, "sqft") — đáp án hiện tại

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ề