Skip to content

Data exploration project from Udacity's Data Analyst Nanodegree using Python and pandas to uncover commuting trends in US bikeshare systems across three major cities, powered by a CLI-based filtering app.

Notifications You must be signed in to change notification settings

techwithhams/US-Bikeshare-Exploration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🚲 US Bikeshare Data Exploration Project

Python + pandas + CLI App | Udacity Nanodegree Project

This project explores bikeshare data from three major US cities β€” Chicago, New York City, and Washington β€” through a command-line interface (CLI) application built in Python. Users can interactively filter data by city, month, and day to uncover commuting patterns, usage behavior, and demographic trends.


🎯 Project Objective

To develop a Python-based CLI app that enables users to explore real-world bikeshare data, applying data wrangling and filtering techniques to extract insights on how and when people use the service.


🧰 Tools & Skills

  • 🐍 Language: Python 3
  • πŸ“¦ Libraries: pandas, numpy, time
  • 🧹 Techniques: Data wrangling, datetime filtering, CLI interaction
  • πŸ’» Skills Applied: Exploratory data analysis (EDA), user input validation, programmatic reporting

πŸ“‚ Dataset

This project uses bikeshare usage data provided by Udacity for:

  • Chicago: chicago.csv
  • New York City: new_york_city.csv
  • Washington: washington.csv

Each file contains details about individual trips made in the bikeshare system, including timestamps, trip duration, station locations, and user demographics.

⚠️ Note: The datasets are not included in this repository due to size limitations and licensing. You can obtain them from Udacity's course materials or request them from official sources.


πŸ“ Project Structure

bikeshare-analysis/
β”œβ”€β”€ bikeshare.py              # Main Python script (CLI app)
└── README.md                 # Project overview and instructions

πŸ” Key Insights

  • πŸ•” Peak usage occurs around 5–6 PM, indicating strong commuter activity.
  • πŸ“… Wednesdays show high trip volumes across all cities.
  • πŸš‰ Major hubs like Columbus Circle and Union Station are frequently used.
  • πŸ‘₯ Younger riders dominate in cities with available birth year data.
  • 🧭 While patterns vary slightly, weekday commuting is a strong common trend.

πŸ’‘ Recommendations

  • 🚲 Peak Hour Optimization: Increase bike availability between 5–7 PM, the busiest usage window.
  • πŸ›€οΈ Station Planning: Add stations near the most common start–end point pairs to improve access.
  • πŸ§‘β€πŸ€β€πŸ§‘ Demographic Targeting: Leverage weekday vs. weekend trends to cater to commuters vs. leisure users.

These insights can help bikeshare companies and urban planners make data-informed operational and strategic decisions.


πŸš€ How to Use

  1. Clone this repository or download the bikeshare.py file and datasets.
  2. Run the script in your terminal:
python bikeshare.py
  1. Follow the prompts to explore the data interactively.

πŸ“¬ Author: Hams Saeed Alhakim πŸ“š Udacity Data Analyst Nanodegree πŸ”— GitHub: github.com/techwithhams πŸ—“ Date: 2024

About

Data exploration project from Udacity's Data Analyst Nanodegree using Python and pandas to uncover commuting trends in US bikeshare systems across three major cities, powered by a CLI-based filtering app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages