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

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

The code block shown below contains an error. The code block is intended to print the schema of DataFrame storesDF. Identify the error. Code block:storesDF.printSchema

Nội dung câu hỏi

The code block shown below contains an error. The code block is intended to print the schema of DataFrame storesDF. Identify the error. Code block:storesDF.printSchema

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. There is no printSchema member of DataFrame – schema and the print() function should be used instead.
  2. B. The entire line needs to be a string – it should be wrapped by str().
  3. C. There is no printSchema member of DataFrame – the getSchema() operation should be used instead.
  4. D. There is no printSchema member of DataFrame – the schema() operation should be used instead.
  5. E. The printSchema member of DataFrame is an operation and needs to be followed by parentheses. — đá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ề