開始使用免費開始

航班耗時

你想要分析航班的飛行時間,但可惜的是,planes DataFrame 中的 "Duration" 欄目前是字串值。

你需要先清理這個欄位,並將它轉成正確的資料型別再進行分析。seaborn 已匯入為 sns

本練習屬於課程

Python 的探索性資料分析

檢視課程

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# Preview the column
print(____)
編輯並執行程式碼