セクション 4. 章 8
single
Challenge: Average Metrics Across Taxi Types
メニューを表示するにはスワイプしてください
Great! As for now, we have our dataset cleared from abnormally long rides and rides with ending time preceded starting. As we investigated, it happened because of misusage of 12 and 24-hour formats.
Let's try to find out some interesting insights from this dataset.
タスク
スワイプしてコーディングを開始
- Apply
.total_seconds()function todurationcolumn usingmapandlambdafunctions. - Group observations by taxi type (
vendor_idcolumn). Then, choose columnsdist_meters,duration, and calculate mean. Then apply functionavg_mtodist_metersandavg_durtoduration. The functions are defined in the code.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 4. 章 8
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください