Just like RDDs, DataFrames have both transformations and actions. As a reminder, transformations convert one DataFrame into another, while actions perform some computation on a DataFrame and normally return the result to the driver. Also, just like the RDDs, transformations in DataFrames are lazy.
In this recipe, we will review the most common transformations.