Transform the data
Hooray, now you're finally ready to pass your data through the Pipeline you created!
Bu egzersiz
Foundations of PySpark
kursunun bir parçasıdırEgzersiz talimatları
- Create the DataFrame
piped_databy calling thePipelinemethods.fit()and.transform()in a chain. Both of these methods takemodel_dataas their only argument.
Uygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Fit and transform the data
piped_data = flights_pipe.____.____