Skip to content

xShaimaa/Explore-US-Bikeshare-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Udacity Data Analysis Nanodegree Program

Explore Us Bikeshare Data.

Project Details

In this project, a csv dataset on bike sharing from 3 diffrent cities in the United States is explored and analyzed using python, that is done based on some user inputs to create an interactive experience.

The Datasets

The datasets provided by Motivate, a bike share system provider in the US, contains randomly selected data for the first six months of 2017 for all three cities (Chicago, New York City, Washington). All three of the data files contain the same core six (6) columns:

  • Start Time (e.g., 2017-01-01 00:07:57)
  • End Time (e.g., 2017-01-01 00:20:53)
  • Trip Duration (in seconds - e.g., 776)
  • Start Station (e.g., Broadway & Barry Ave)
  • End Station (e.g., Sedgwick St & North Ave)
  • User Type (Subscriber or Customer)

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

  • Gender
  • Birth Year

Data for the first 10 rides in the new_york_city.csv file Close[Data for the first 10 rides in the new_york_city.csv file Close]

The original files are much larger and messier, hence they are not used on the project. they can be accessed here (Chicago, New York City, Washington). These files had more columns and they differed in format in many cases. Some data wrangling has been performed to condense these files to the above core six columns.

Computed statistics within the project

  1. Popular times of travel (i.e., occurs most often in the start time)

    • most common month
    • most common day of week
    • most common hour of day
  2. Popular stations and trip

    • most common start station
    • most common end station
    • most common trip from start to end (i.e., most frequent combination of start station and end station)
  3. Trip duration

    • total travel time
    • average travel time
  4. User info

    • counts of each user type
    • counts of each gender (only available for NYC and Chicago)
    • earliest, most recent, most common year of birth (only available for NYC and Chicago)

Built with

  • Python
  • Pandas
  • Numpy
  • Spyder (IDE)

Used files

  • chicago.csv
  • new_york_city.csv
  • washington.csv

About

Udacity Data Analysis Nanodegree Program | Project 1

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages