OJ247 / pdsnd_github

GitHub project (Project 3) repository for PDSND

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Date created

2019-11-27

Project Title

Exploring the Bikeshare Data

Description

This project was aimed at exploring randomly selected data related to bikeshare systems for the first six months of 2017 for three major cities in the United States:

  • Chicago
  • New York city
  • Washington

Bicycle-sharing systems allow users to rent bicycles on a very short-term basis for a price. This allows people to borrow a bike from point A and return it at point B, though they can also return it to the same location if they'd like to just go for a ride. Regardless, each bike can serve several users per day.

The project involved writing a python script (bikeshare_2.py) that computes a variety of descriptive statistics about bike sharing in three major cities to provide the following information:

  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

  • README.md This file contains the all the project information

  • bikeshare_2.py This is the python script used to explore the data sets

  • The datasets The original data sets can be accessed from here. ( Chicago data, New york city, Washington )

Credits

The following resources were used to accomplish this project.

1.Pandas documentation https://pandas.pydata.org/pandas-docs/stable/reference/frame.html

2.Time documentation https://docs.python.org/3/library/time.html

3.numpy documentation https://numpy.org/doc/1.17/user/basics.html

4.While loop https://www.tutorialspoint.com/python3/python_while_loop.html

5.Python while loops https://stackoverflow.com/questions/14062266/python-while-loops

  1. Python standard library https://docs.python.org/3/library/

About

GitHub project (Project 3) repository for PDSND


Languages

Language:Python 100.0%