🔥 3-day streak
Databricks Certified Machine Learning Associate76 / 137
Question 76 of 137

A data scientist has been prototyping feature engineering using a pandas DataFrame in a Databricks notebook. The dataset has grown to 400 GB and no longer fits in the driver's memory, causing out-of-memory errors. The scientist wants to keep the existing pandas-style code (e.g., df.groupby(...).mean(), df['col'].fillna(...)) with minimal rewriting while distributing the computation across the cluster. Which approach best meets this requirement?

Reviewed for accuracy · Report an issueNext question