Coder Social home page Coder Social logo

pandas-viz-demo's Introduction

Visualizing Time Series in Pandas

Notebook for a data science demo webinar on exploring and visualizing time series data in Pandas.

Click the badge below to open this repository as a Binder notebook repository:

Binder

To run locally:

  • Download or clone the repository
  • Ensure that you have Python and conda installed.
  • Create a conda environment from environment.yml by:
    • Running conda env create -f environment.yml from within this directory
    • Using the Anaconda Navigator app
  • Activate the environment and open Jupyter:
    • conda activate pandas-viz; jupyter notebook
    • Or use Anaconda Navigator

This dataset, hosted on the UCI Machine Learning Repository, contains the following:

"Observations come from 2 data streams (people flow in and out of the building), over 15 weeks, 48 time slices per day (half hour count aggregates).

Elements of the .data file contains the following features:

  1. Flow ID: 7 is out flow, 9 is in flow
  2. Date: MM/DD/YY
  3. Time: HH:MM:SS
  4. Count: Number of counts reported for the previous half hour

There is also an .events file that contains information about the occurrence of events in the building. Elements have the following features:

  1. Date: MM/DD/YY
  2. Begin event time: HH:MM:SS (military)
  3. End event time: HH:MM:SS (military)
  4. Event name (anonymized)

The dataset was originally intended for use in training an event detection model, so the events file serves as the ground truth.

We will just be using the dataset to demonstrate some powerful Pandas techniques for transforming and visualizing temporal data, as well as performing some feature engineering.

pandas-viz-demo's People

Contributors

mcullan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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