Coder Social home page Coder Social logo

thomaspanji / nyc-taxi Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 41.3 MB

Performs data cleaning and manipulation for New York City taxi using PySpark. The resulting data frame then processed to make a visualization using Plotly-Dash.

Jupyter Notebook 84.59% Python 7.59% CSS 7.82%

nyc-taxi's Introduction

New York City Green Taxi Data

Introduction

This repository is all about cleaning and analyzing New York City green taxi data. This project contains two main tasks: cleaning raw data using PySpark and building a dashboard for cleaned data using Plotly-Dash.

The data source can be downloaded from this link.

Task 1 : Cleaning

I use Jupyter Notebook and PySpark to clean up the data so I can do a quick analysis of the data and make decisions from it.

For now, I'm only using the 2020 green taxi data. This cleaning process is quite challenging because it gets confusing a lot. In the end, I had to delete a lot of rows. The notebook can be accessed here.

Task 2 : Building a Dashboard

The cleaned data is used to create a dashboard that will display important keys about the business. I use Plotly for plotting purpose combined with Dash to build an interactive dashboard in a web application.

The dashboard is still a work in progress but enough to show some plot there. It took me some effort to understand HTML page styles and settings. Documentation pages are a great way to learn about this amazing thing.

Conclusion

By doing this project, there are some learning I achieved:

  1. Running Spark in a notebook
  2. Cleaning data by leveraging some PySpark functionalities
  3. Knowledge about data format that works efficiently in Spark
  4. Plotly and Dash is a good combination for making an interactive web-based dashboard.

This project is not finished yet, I will update all tasks if I find some insight.

nyc-taxi's People

Contributors

thomaspanji avatar

Watchers

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.