Quiz 10 Question 12 of 20

A notebook builds a cleaned DataFrame of oral-history transcript metadata through several PySpark transformation steps, then uses that same DataFrame as the input to three separate downstream aggregations. Spark re-executes the entire chain of upstream transformations from scratch for each of the three aggregations, tripling the total runtime. What change would most directly avoid that repeated recomputation?

Select an answer to reveal the explanation.

Motivation