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

Câu 69: 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.getAs[String]

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.getAs[String]

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 – the getSchema() operation should be used instead.
  2. B. There is no printSchema member of DataFrame – the schema() operation should be used instead.
  3. C. The entire line needs to be a string – it should be wrapped by str().
  4. D. The printSchema member of DataFrame is an operation prints the DataFrame – there is no need to call getAs. — đáp án hiện tại
  5. E. There is no printSchema member of DataFrame – schema and the print() function should be used instead.

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ề