Transform the data
Hooray, now you're finally ready to pass your data through the Pipeline you created!
Это упражнение является частью курса
Foundations of PySpark
Инструкции к упражнению
- Create the DataFrame
piped_databy calling thePipelinemethods.fit()and.transform()in a chain. Both of these methods takemodel_dataas their only argument.
Интерактивное практическое упражнение
Попробуйте выполнить это упражнение, дополнив этот пример кода.
# Fit and transform the data
piped_data = flights_pipe.____.____