GithubHelp home page GithubHelp logo

bike-stats's Introduction

Data Analysis with Pandas; seattle-401pyn2

Seattle Bike Trip Stats

  • Kim Damalas, 20 Jan 2021
  • using stats from Kaggle: trips.csv

Submission pull request: #1

Description


Taking a tour into Data Science to learn a bit more about the field and tools used in this space


Feature Tasks and Requirements


Answer the following questions/do the following tasks.

  1. What is the average trip duration for a borrowed bicycle?
  2. What’s the most common age of a bicycle-sharer?
  3. Given all the weather data here, find the average precipitation per month
    • and the median precipitation.
  4. What’s the average number of bikes at a given bike station?
  5. When a bike station is modified, is it more likely that it’ll lose bikes or gain bikes? How do you know?
  6. Come up with 3 more questions that can be answered with this data set.
    • this question
    • this question
    • this question

Configuration and Technologies


The user must have Python and all associated dependencies installed. The project is run inline using a Jupyter notebook


Changes


20 Jan: files set up; grid coded; first PR


Testing


Testing accomplished using inline testing. The program must pass the provided tests given in the file as well as any custom tests coded by the developer

def test():

    def assert_equal(actual,expected):
        assert actual == expected, f"Expected {expected} but got {actual}"

    assert_equal(avg_trip, None)
    assert_equal(most_common_age, None)
    assert_equal(avg_precip_month, None)
    assert_equal(median_precip, None)
    assert_equal(avg_bikes_per_station, None)
    assert_equal(lose_or_gain_bikes, None)

    -- test Q8.1
    -- test Q8.2
    -- test Q8.3

    print("Success!!!")

test()

bike-stats's People

Contributors

kimmyd70 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.