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?
rajneesharora
3 days, 5 hours ago68c6a4b
2 weeks, 5 days agorajneesharora
3 days, 5 hours ago