Transform the data
Hooray, now you're finally ready to pass your data through the Pipeline you created!
Questo esercizio fa parte del corso
Foundations of PySpark
Istruzioni dell'esercizio
- Create the DataFrame
piped_databy calling thePipelinemethods.fit()and.transform()in a chain. Both of these methods takemodel_dataas their only argument.
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Fit and transform the data
piped_data = flights_pipe.____.____