Get startedGet started for free

Transform the data

Hooray, now you're finally ready to pass your data through the Pipeline you created!

This exercise is part of the course

Foundations of PySpark

View Course

Exercise instructions

  • Create the DataFrame piped_data by calling the Pipeline methods .fit() and .transform() in a chain. Both of these methods take model_data as their only argument.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Fit and transform the data
piped_data = flights_pipe.____.____
Edit and Run Code