Question: Overview In this project, you will make use of Python to explore data related to bike share systems for three major cities in the United
Overview
In this project, you will make use of Python to explore data related to bike share systems for three major cities in the United StatesChicago New York City, and Washington. You will write code to import the data and answer interesting questions about it by computing descriptive statistics. You will also write a script that takes in raw input to create an interactive experience in the terminal to present these statistics.
Bike Share Data
Over the past decade, bicyclesharing systems have been growing in number and popularity in cities across the world. Bicyclesharing systems allow users to rent bicycles on a very shortterm 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.
Thanks to the rise in information technologies, it is easy for a user of the system to access a dock within the system to unlock or return bicycles. These technologies also provide a wealth of data that can be used to explore how these bikesharing systems are used.
In this project, you will use data provided by Motivateopens in a new tab a bike share system provider for many major cities in the United States, to uncover bike share usage patterns. You will compare the system usage between three large cities: Chicago, New York City, and Washington, DC
The Datasets
Randomly selected data for the first six months of are provided for all three cities. All three of the data files contain the same core six columns:
Start Time eg::
End Time eg::
Trip Duration in seconds eg
Start Station eg Broadway & Barry Ave
End Station eg 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 rides in the newyorkcity.csv file
The original files are much larger and messier, and you don't need to download them, but they can be accessed here if you'd like to see them Chicagoopens in a new tab New York Cityopens in a new tab Washingtonopens in a new tab These files had more columns and they differed in format in many cases. Some data wranglingopens in a new tab has been performed to condense these files to the above core six columns to make your analysis and the evaluation of your Python skills more straightforward.
Statistics Computed
You will learn about bike share use in Chicago, New York City, and Washington by computing a variety of descriptive statistics. In this project, you'll write code to provide the following information:
# Popular times of travel ie occurs most often in the start time
most common month
most common day of week
most common hour of day
# Popular stations and trip
most common start station
most common end station
most common trip from start to end ie most frequent combination of start station and end station
# Trip duration
total travel time
average travel time
# 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
The Files
To answer these questions using Python, you will need to write a Python script. To help guide your work in this project, a template with helper code and comments is provided in a bikeshare.py file, and you will do your scripting in there also. You will need the three city dataset files too:
chicago.csv
newyorkcity.csv
washington.csv
All four of these files are zipped up in the "allprojectfiles" document in the Resources tab in the sidebar on the left side of this page. You may need to scroll down inside the Resources tab to see the "allprojectfiles" doc. You can choose to download and unzip that "allprojectfiles" doc to access all four project files, and do your project work on your local machine.Data for the first rides in the newyorkcity.csv
file
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
