QuestionQ100

VerifiedData Processing

Which of the following makes the pandas API on Spark slower than native Spark DataFrames when used with large datasets?

Explanation

A pandas-on-Spark DataFrame holds an internal immutable InternalFrame to manage metadata, and the pandas API on Spark also uses internal columns to support behaviors such as indexes. Maintaining this additional metadata can impose overhead relative to a native Spark DataFrame. The API still uses distributed, lazy Spark execution.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!