Pergunta de entrevista da empresa PwC

One of the questions they asked was to write a PySpark code to read a large dataset, perform basic transformations, and explain how to optimize it for better performance.