Skip to content

Recipes for using Python's pandas library

Notifications You must be signed in to change notification settings

esarrazin/pandas-cookbook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pandas cookbook

Fork from https://github.com/jvns/pandas-cookbook

pandas is a Python library for doing data analysis. It's really fast and lets you do exploratory work incredibly quickly.

The goal of this cookbook is to give you some concrete examples for getting started with pandas. The docs are really comprehensive. However, I've often had people tell me that they have some trouble getting started, so these are examples with real-world data, and all the bugs and weirdness that entails.

It uses 3 datasets:

  • 311 calls in New York
  • How many people were on Montréal's bike paths in 2012
  • Montréal's weather for 2012, hourly

It comes with batteries (data) included, so you can try out all the examples right away.

Table of Contents

How to use this cookbook

To run the notebooks, you'll need Jupyter notebook and pandas on your computer.

To install locally, you can get these using pip (you may want to do this inside a virtual environment to avoid conflicting with your other libraries).

git clone https://github.com/esarrazin/pandas-cookbook.git
cd pandas-cookbook
python -m venv env_cookbook
source env_cookbook/bin/activate
pip install -r requirements.txt
jupyter-lab

A tab should open up in your browser at http://localhost:8888

Happy pandas!

License

Creative Commons License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

About

Recipes for using Python's pandas library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%