Giter Site home page Giter Site logo

juzershakir / us_bike-share_activity Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 14.7 MB

Exploring US Bike-Share data of 3 major cities at the year 2016.

Home Page: http://nbviewer.jupyter.org/github/JuzerShakir/US_Bike-Share_Activity/blob/master/report.ipynb

Jupyter Notebook 24.70% HTML 75.30%
udacity-machine-learning-nanodegree pandas jupyter-notebook data-analysis data-visualization seaborn matplotlib us-state bike-share new-york-city

us_bike-share_activity's Introduction

My First Project in Machine Learning Foundation Nanodegree

Data Analysis

Project: Exploring US Bikeshare Data


Table Of Contents:


Description

About the project

Over the past decade, bicycle-sharing systems have been growing in number and popularity in cities across the world. Bicycle-sharing systems allow users to rent bicycles for short trips, typically 30 minutes or less. 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 bike-sharing systems are used.

What needs to be done

In this project, I will perform an exploratory analysis on data provided by Motivate, a bike-share system provider for many major cities in the United States. I will compare the system usage between three large cities:

  • New York City
  • Chicago
  • Washington DC.

I will also see if there are any differences within each system for those users that are registered, regular users and those users that are short-term, casual users. I will make use of Python(Pandas) to explore data and perform data wrangling to unify the format of data from the three systems and write code to compute descriptive statistics. I will also make use of a package that is not part of the standard Python library to help you visualize the data.

Why this project

If you are not familiar with the data analysis process, this project will be your first exposure to the kinds of steps that a data analyst takes when they approach a dataset. For now, all you need is the general python programming skills and a desire to learn about the data analysis process!


Data

Files

This project contains 1 file and 3 folders:

  • report.ipynb: This is the main file where I have performed my work on the project.
  • input_data/ : Folder containing 3 csv files of the cities that needs to be analyzed.
  • output_data/ : Folder containing data files required for Exploratory Data Analysis.
  • export/ : Folder containing HTML and PDF file of notebook.
  • plots/ : Contains images of all the plots that are displayed in report.ipynb file.

Some code has already been implemented in report.ipynb file to get me started, I will need to implement additional functionality when requested to successfully complete the project.

Dataset file

The data files for this analysis is in the input_data/ folder containing three csv files of the cities to be analyzed. Each of these cities has a page where we can freely download the trip data.:

New York City (Citi Bike): Link
Chicago (Divvy): Link
Washington DC (Capital Bikeshare): Link

While the original data for 2016 is spread among multiple files for each city, the files in the input_data/ folder collect all of the trip data for the year into one file per city. Some data wrangling of inconsistencies in timestamp format within each city has already been performed. In addition, a random 2% sample of the original data is taken to make the exploration more manageable.

After data wrangling process of the data files, the files are then saved to output_data/ folder.


Loading Project

Requirements

This project requires Python 3 and the following Python libraries installed:

You will also need to have software installed to run and execute a Jupyter Notebook

If you do not have Python installed yet, it is highly recommended that you install the Anaconda distribution of Python, which already has the above packages and more included.

Execution

In a terminal or command window, navigate to the top-level project directory US_Bike-Share_Activity/ (that contains this README) and run one of the following commands:

ipython notebook report.ipynb

or

jupyter notebook report.ipynb

or if you have 'Jupyter Lab' installed

jupyter lab

This will open the Jupyter/iPython Notebook software and project file in your browser.


Conclusion

What I learned

  • How to load csv files in notebook using pandas.
  • How to convert date and time to their appropriate format.
  • Removing unnecessory rows and columns.
  • Renaming Columns
  • Visulaizing Data of a column of different files.
  • Converting Dataframes to CSV files.

Evaluation

My project was reviewed by a Udacity reviewer against the Explore US Bike-Share project rubric. All criteria found in the rubric must be meeting specifications for me to pass.

Results

My Project Review by an Udacity Reviewer


us_bike-share_activity's People

Watchers

 avatar  avatar

Forkers

agnesyan

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.