From the course: Data Ingestion with Python
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Clean rides according to ride duration - Python Tutorial
From the course: Data Ingestion with Python
Challenge: Clean rides according to ride duration
“
(upbeat music) - [Instructor] Load rides.db to a DataFrame. Add a duration column with ride duration, which is the dropoff time minus the pickup time. Remove all rows that have duration, which is less or equal to a minute. And change all the durations that are more than five hours to the median duration.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.