Skip to content

vamshikesireddy/bikeshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python Script to Explore US Bikeshare Data

This Python script is written for Project 2 (Term 1) of Udacity's Data Analyst Nanodegree (DAND) and is used to explore data related to bike share systems for Chicago, New York City, and Washington. It imports data from csv files and compute descriptive statistics from the data. It also takes in users' raw input to create an interactive experience in the terminal to present these statistics.

The data is provided by Motivate, which is a bike share system provider for many cities in the United States. The data files for all three cities contain the same six columns:

  • Start Time
  • End Time
  • Trip Duration (in seconds)
  • Start Station
  • End Station
  • User Type (Subscriber or Customer)

The Chicago and New York City files also contain the following two columns:

  • Gender
  • Birth Year

Questions explored

The script answers the following questions about the bike share data:

  • What is the most popular month for start time?
  • What is the most popular day of week (Monday, Tuesday, etc.) for start time?
  • What is the most popular hour of day for start time?
  • What is the total trip duration and average trip duration?
  • What is the most popular start station and most popular end station?
  • What is the most popular trip?
  • What are the counts of each user type?
  • What are the counts of gender?
  • What are the earliest (i.e. oldest person), most recent (i.e. youngest person), and most popular birth years?

Future scopes

In the future, more functions that compute statistics will be added to answer more questions about the data. The possibilities of improving the interactive experience (e.g turning this script into a web app) will also be explored.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages