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

Câu 33: Databricks Certified Machine Learning Professional

A data scientist wants to remove the star_rating column from the Delta table at the location path. To do this, they need to load in data and drop the star_rating column. Which of the following code blocks accomplishes this task?

Nội dung câu hỏi

A data scientist wants to remove the star_rating column from the Delta table at the location path. To do this, they need to load in data and drop the star_rating column. Which of the following code blocks accomplishes this task?

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. spark.read.format(“delta”).load(path).drop(“star_rating”) — đáp án hiện tại
  2. B. spark.read.format(“delta”).table(path).drop(“star_rating”)
  3. C. Delta tables cannot be modified
  4. D. spark.read.table(path).drop(“star_rating”)
  5. E. spark.sql(“SELECT * EXCEPT star_rating FROM path”)

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ề