Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.39 KB

README.md

File metadata and controls

44 lines (33 loc) · 2.39 KB

(Ford GoBike System Data Exploration)

by (Adewunmi Giwa)

Ford GoBike System Dataset

This dataset includes information about individual rides made in a bike-sharing system covering the greater San Francisco Bay area. Only data for the month of Feburary, 2019 was provided in the classroom, however, I went ahead to obtain links to monthly datasets from January to December, 2019 from this lnk: https://s3.amazonaws.com/baywheels-data/index.html

I programatically downloaded the zipfiles containing the dataset for each month using os and requests libraries. Thereafter, I extracted the dataset from each file. I then merged all monthly datasets into one single csv fle.

Variables in the Dataset Include: 1. duration_sec 2. start_time 3. end_time 4. start_station_id 5. start_station_name 6. start_station_latitude 7. start_station_longitude 8. end_station_id 9. end_station_name 10. end_station_latitude 11. end_station_longitude 12. bike_id 13. user_type 14. bike_share_for_all_trip 15. rental_access_method

For my data wrangling process, I converted dtype of 'start_time' to datetime object, then split start_time into date and time columns. Afterwards, I extracted day and month from start_time column, extracted hour from start_time column, converted 'hour' column into int dtype, dropped irrelevant columns, drop rows containing missing values, and obtained trip distance in km from latitude and longitude columns

Summary of Findings

  1. 19.4% of bike rides were taken by customers, while 80.6% were taken by subscribers 2. For both subscribers and customers, number of trips peaked at 8am and 5pm 3. Subscribers took the most trips in March, while customers took the most trips in December 4. Customers spent more time on trips and also covered longer distance compared to subscribers 5. Most bike trips were taken on weekdays, however, the longest bike trips in terms of duration, were taken on weekends.

Key Insights for Presentation

  1. It is interesting to see that eventhough most bike trips were taken on weekdays, longest bike trips in terms of duration were actually taken on weekends. 2. Eventhough subscribers take more rides than customers, it is interesting to see that customers travel for longer distance and longer periods. 3. The longer the trip duration and trip distance, the lower the number of trips.