Giter Site home page Giter Site logo

-explore-us-bikeshare-data's Introduction

Explore-US-Bikeshare-Data

In this project, I made use of Python to explore data related to bike share systems for three major cities in the United States—Chicago, New York City, and Washington. I wrote code to import the data and answered interesting questions about it by computing descriptive statistics. I also wrote a script that takes in raw input to create an interactive experience in the terminal to present these statistics.

What Software is Needed?

To complete this project, the following software requirements apply:

  • You should have Python 3, NumPy, and pandas installed using Anaconda
  • A text editor, like Sublime or Atom.
  • A terminal application (Terminal on Mac and Linux or Cygwin on Windows).

Running the program

You can input 'python bikeshare.py' on your terminal to run this program. I use Anaconda's command prompt on a Windows 10 machine.

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:

#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 #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)

Requirements

  • Language: Python 3.6 or above
  • Libraries: pandas, numpy, time

Project Data

  • chicago.csv - Stored in the data folder, the chicago.csv file is the dataset containing all bikeshare information for the city of Chicago provided by Udacity.

  • new_york_city.csv - Dataset containing all bikeshare information for the city of New York provided by Udacity.

  • washington.csv - Dataset containing all bikeshare information for the city of Washington provided by Udacity. Note: This does not include the 'Gender' or 'Birth Year' data.

Built with

  • Python 3.6.6 - The language used to develop this.
  • pandas - One of the libraries used for this.
  • numpy - One of the libraries used for this.
  • time - One of the libraries used for this.

-explore-us-bikeshare-data's People

Contributors

musangi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.