Coder Social home page Coder Social logo

w08-workshop's Introduction

Week 8 workshop: Edinburgh cycle hire data

Edinburgh has a bike hire scheme, where you can rent a bike from one station to another. The company which runs the scheme publishes anonymised data every month, containing all information about the bike trips people have made that month.

All available data files (since the scheme started in September 2018) are available here, as well as a description of the data. It is published under the Open Government License (OGL).

The data file for October 2020 is already in the repo (10.csv), but you can download more data from here if you want to look at other times -- for instance, if you want to have a look at changes with seasons, with the Covid-19 lockdown (which started mid-March 2020 here), etc...

Task: make sense of the data!

Your task is to read the CSV file into a pandas dataframe, and to find interesting things in it. You can start a new .py script or a Jupyter notebook. Here are some suggestions -- you will probably only have time for one or two during the workshop, so pick one that you like!

  • What is the average journey time and distance of bike trips on weekdays? What about weekends?
  • How many stations appear in the dataset? Which were the most common starting stations? Think about how to display/plot the results of your analysis.
  • What was the most common time(s) of day for journeys to be undertaken?
  • Can you visualise which stations were used mostly for shorter trips and which one for longer trips?
  • Can you compare the statistics of different months in summer? Is there any remarkable difference between them? (Do this with 2019 data!)

You could use pandas to extract different parts of the data from the dataframe, matplotlib or seaborn to make some plots, SciPy for statistics...

Useful documentation links

You can also look at the Week 7 and Week 8 tutorial notebooks for examples.

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.