Skip to content

GitHub project (Project 3) repository for PDSND

Notifications You must be signed in to change notification settings

82Luli02/pdsnd_github

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Date created

17 Dec. 2022

Project Title

Explore US Bikeshare Data project

Description

In this project, I created Python code to import US bike share data and used descriptive statistics to answer interesting questions about it. In addition, this script takes raw input to create an interactive terminal experience that displays this information.

The Datasets

Randomly selected data for the first six months of 2017 are provided for all three cities. 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

Statistics Computed

  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
  1. 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)
  1. Trip duration
  • total travel time
  • average travel time
  1. 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)

Files used

  1. bikeshare.py
  2. chicago.csv
  3. new_york_city.csv
  4. washington.csv

About

GitHub project (Project 3) repository for PDSND

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%