セクション 4. 章 9
single
Challenge: Corrected Metrics Across Taxi Types
メニューを表示するにはスワイプしてください
Average trip duration across different taxi types looks a bit strange. Every taxi type has an average trip duration greater than 1 hour (most of them even greater than 2 hours), while the average distance is less than 10 km. That's extremely slow!
Let's make some corrections and assume that not all noisy data were removed.
タスク
スワイプしてコーディングを開始
- Within the
printfunction calculate the proportion of long trips (with adurationat least of 3 hours). Remember, thatdurationcolumn is measured in seconds. - Calculate average trip distance (
dist_meters) and trip duration (duration) across each taxi type (vendor_idcolumn) for trips with a duration less than 3 hours.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 4. 章 9
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください