Skip to content

YousefSaber/Statistical-Analysis-Project

Repository files navigation

Bikeshare

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

  1. Popular times of travel
    • 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)

Instuctions about using the program

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

Important Note

  • The program may not work if Pandas library isn't installed on your computer.

About

Analyzing Bikeshare data and obtaining some information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published