QuestionQ143
VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.A data scientist is working with a large dataset in Apache Spark via PySpark. The data scientist has a DataFrame df with the columns user_id, product_id, and purchase_amount, and must efficiently perform operations on this data.
Which sequence of operations produces transformations that require a shuffle, followed by transformations that do not?
Community Discussion