Coder Social home page Coder Social logo

marcusholmgren / bikeshare-analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 7.89 MB

Data Analysis of individual rides made in a bike-sharing system covering the greater San Francisco Bay area

License: MIT License

Jupyter Notebook 99.98% Smarty 0.02%

bikeshare-analysis's Introduction

Communicate Data Findings

This will perform data analysis on information about individual rides made in a bike-sharing system covering the greater San Francisco Bay area.

Ford GoBike System Data

This project was done as part of my enrollment in Data Analyst Nanodegree program by Udacity

fordgobike-analysis.ipynb is the Jupyter Notebook that contains the Exploratory Data Analysis, html.

fordgobike-slide_deck.ipynb is the Jupyter Notebook that contains the Explanatory Data Analysis, html.

docs/fordgobike-slide_deck.slides.html is a Slide Deck created from the finding from the explanatory data analysis.

Dataset

I have chosen to perform data analysis on the Ford GoBike's trip data for public use and the analysis was performed on the files that contains data between january 2018 until february 2019.

Summary of Findings

Most bike trips are shorter than 30 minutes and the most common is that it is shorter than 10 minutes.

Bike rentals mostly occurs on business weekdays with peek bike trips on tuesday, wednesday, and thursdays. When segmenting the bike trips on user type a different pattern is revealed for casual customers. They have an increase rental frequency on weekends.

There are two distinct hours during the day that have higher utilization of bikes. Bike rental hour of the day

Key Insights for Presentation

Customer user type account for 14 % of bike rentals with an increase of rentals on saturdays. One explanation could be that the Customer user type consist of weekend tourists visiting the San Francisco Bay area.

1. How long is the typical bike trip duration?

The bike rental duration contains some extreme values. But the most common bike rental is less than 10 minutes in lenght. Bike rentals duration binned

2. During what days of the week does bike rentals occur?

Bike rentals mostly occurs on business weekdays with peek bike trips on tuesday, wednesday, and thursdays.

3. Same station start and end bike trips

When looking at bike trips that start and end at the same station there is a interesting pattern that is revealed in the Customer user type. They have a higher number of these kind of trips than the regular Subscribers. I interpret this as it could be weekend tourists visiting the San Francisco Bay area and are doing more sightseeing kind of trips close to the hotel where they are staying. Than the commuting style usage pattern that the regular Subscribers have.

4. Bike rental hour of the day

There is a distinct pattern with two spikes of bike rentals during the day. One in the morning at 8 o'clock and then later in the evening at 17 o'clock. This is a really good fit with a commuter pattern with people using bike rentals to travel to and from work.

Running Jupyter Notebook

This data analysis is done with Python and Jupyter Notebook. Third party library dependencies can be installed with pip and the requirements.txt

Start jupyter notebook from the command line with the following command:

$ jupyter notebook

Expect a new browser tab to open with a list of items. Select the fordgobike-analysis.ipynb to open the data analysis notebook or fordgobike-slide_deck.ipynb for the explanatory data analysis notebook.

Slide Deck

To convert the explanatory data analysis notebook to a slide deck issue the following command:

$ jupyter nbconvert fordgobike-slide_deck.ipynb --to slides --template output_toggle.tpl --post serve

Expect file fordgobike-slide_deck.slides.html to be created.

Resources used

bikeshare-analysis's People

Contributors

marcusholmgren avatar

Watchers

 avatar James Cloos avatar  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.