US Bikeshare Explorer
Problem
Bikeshare data for Chicago, New York, and Washington lived in three separate CSVs and answered no question on its own. The brief: build an interactive tool that lets a non-technical user pick a city, a month, and a day, and get back the patterns hidden in millions of rides.
Approach
I built a Python program around pandas. It parses each city's CSV, converts Start Time into datetime, and engineers month, weekday, and hour columns up front so every later query is one filter away. The user is walked through three prompts; the program then computes most-common travel times, top stations and station pairs, total and mean trip duration, and rider-type breakdowns. A paged-display loop lets the user inspect raw rows five at a time.
Code structure
Insight
Usage shape varies sharply by city. The two larger systems show clean commuter peaks at 8am and 5pm on weekdays; Washington's hour distribution is flatter and weekend-heavy, consistent with tourist use. The most common station pairs cluster around financial districts on weekdays and around parks on weekends — the same bikes serve two different cities depending on the day.