Analyzing Bikeshare data and obtaining some information
The project is a python application that works from command line and the user interact with it to choose how the application should filter the data and which city perfrom the analysis on
There are 3 cities (New York, Washington, Chicago)
The application obtain the following infromation
- Popular times of travel
- 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 (i.e., 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)
First of All you must make sure that python3
is installed on your computer and it's added in the PATH
environment variable.
you can type the command to verify it's working
joseph@DESKTOP-ET6MUFK:~$ python3 --version
Python 3.8.2
the above steps work on Linux if you are on Windows you'll type
py --version
note that any other python3 version may be installed on your computer so you may get another python3 version output but if you got an error that means that python3 isn't installed correctly on your PC.
Then you'll clone or download the files in one directory then open a command line window in the same directory and type
python3 bikeshare.py
if you are on Linux but if you are on Windows you'll type
py bikeshare.py
- The program may not work if Pandas library isn't installed on your computer.