Answer Posted / Tarun Sudhir
Transformations in PySpark are operations that create a new DataFrame from an existing one, but they don't compute the result immediately. Examples include filter(), map(), and select(). On the other hand, actions trigger the computation and return a value to the driver program. Examples of actions include count(), collect(), and show().
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers