/pandas_tutorial

Pandas Tutorial for Pydata Meetup Jan 31

Primary LanguageJupyter Notebook

Pandas for Beginners/Intermediate

Welcome to the Pandas Tutorial! In this tutorial we will go through some basic to intermediate concepts in Python

  • How to load data and select subsets of it
  • How to aggregate data
  • How to concisely manipulate data using
  • Putting it all together - analyse a dataset using the functions we've learned

It's easy to get started - just press the binder button below and you'll be all set!

Binder

If you want this running on your local computer, it's fairly easy too!

Make sure you have git and conda installed

Clone the repo

  • git clone https://github.com/andersbogsnes/pandas_tutorial.git
  • cd pandas_tutorial

Install dependencies

  • conda env create

Activate your environment

  • Windows: activate pandas_tutorial
  • Everything else: conda activate pandas_tutorial

Start Jupyter Lab

  • jupyter lab

If you dont have/want conda (though I highly recommend it!)

Create a virtualenv

  • python -m venv venv

Activate Virtualenv

  • Non-Windows

    • source venv/bin/activate
  • Windows

    • env\Scripts\activate.bat

Pip install requirements

  • pip install -r requirements.txt

Start Jupyter lab

  • jupyter lab