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

Câu 14: Databricks Certified Machine Learning Associate

A data scientist has been given an incomplete notebook from the data engineering team. The notebook uses a Spark DataFrame spark_df on which the data scientist needs to perform further feature engineering. Unfortunately, the data scientist has not yet learned the PySpark DataFrame API. Which of the following blocks of…

Nội dung câu hỏi

A data scientist has been given an incomplete notebook from the data engineering team. The notebook uses a Spark DataFrame spark_df on which the data scientist needs to perform further feature engineering. Unfortunately, the data scientist has not yet learned the PySpark DataFrame API. Which of the following blocks of code can the data scientist run to be able to use the pandas API on Spark?

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. import pyspark.pandas as psdf = ps.DataFrame(spark_df) — đáp án hiện tại
  2. B. import pyspark.pandas as psdf = ps.to_pandas(spark_df)
  3. C. spark_df.to_sql()
  4. D. import pandas as pddf = pd.DataFrame(spark_df)
  5. E. spark_df.to_pandas()

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ề