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

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

The code block shown below should return a new DataFrame where single quotes in column storeSlogan have been replaced with double quotes. Choose the response that correctly fills in the numbered blanks within the code block to complete this task. A sample of DataFrame storesDF is below: Code block:storesDF.__1__(__2__…

Nội dung câu hỏi

The code block shown below should return a new DataFrame where single quotes in column storeSlogan have been replaced with double quotes. Choose the response that correctly fills in the numbered blanks within the code block to complete this task. A sample of DataFrame storesDF is below: Code block:storesDF.__1__(__2__, __3__(__4__, __5__, __6__))

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. 1. withColumn2. "storeSlogan"3. regexp_extract4. col("storeSlogan")5. "\""6. "'"
  2. B. 1. newColumn2. storeSlogan3. regexp_extract4. col(storeSlogan)5. "\""6. "'"
  3. C. 1. withColumn2. "storeSlogan"3. regexp_replace4. col("storeSlogan")5. "\""6. "'"
  4. D. 1. withColumn2. "storeSlogan"3. regexp_replace4. col("storeSlogan")5. "'"6. "\"" — đáp án hiện tại
  5. E. 1. withColumn2. "storeSlogan"3. regexp_extract4. col("storeSlogan")5. "'"6. "\""

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ề