Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
What is the most straightforward method to convert a PySpark Pandas DataFrame into a Spark DataFrame?
A
sdf = ps.to_spark(df)
B
sdf = df.to_spark_df()
C
sdf = df.to_spark()
D
sdf = ps.spark_df(df)