/pandas-tutorial

Pandas tutorial

Primary LanguageJupyter NotebookBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Pandas Tutorial - goo.gl/BPYJhp

This repository contains the material (notebooks, data) for the pandas tutorial. Tutorial derived from Joris Van den Bossche: releases page and from this tutorial.

Requirements to run this tutorial

If you have a laptop, I would suggest to go to section 2 and install the software on your laptop, otherwise from the computer in the classroom please follow section 1.

1. From the lab computer (It requires a student account)

  1. Log in with your account.
  2. Download and extract this file https://github.com/AlessandroChecco/pandas-tutorial/archive/master.zip.
  3. Copy the just extracted folder "pandas-tutorial" in drive U:
  4. From the start menu execute Jupyter Notebook

2. From your laptop

  1. Install conda environment manager to install all the requirements (you can install miniconda or install the (very large) Anaconda software distribution, found at http://continuum.io/downloads).
  2. The following command will install all required packages in your Python environment: conda install pandas jupyter seaborn
  3. Git clone this repository, or alternatively download and extract this file https://github.com/AlessandroChecco/pandas-tutorial/archive/master.zip.

2b. Other environments

If you want to use other environment: you will need to install jupyter. To follow this tutorial you need to have the following packages installed:

2c. Alternative method (zero requirements! But it might be down...)

Try to click here Binder

2d. Alternative method (it requires a google account)

  1. Install CoLaboratory and upload there the main files. It requires google drive.
  2. Download and extract this file https://github.com/AlessandroChecco/pandas-tutorial/archive/master.zip.

2e. Alternative method (nothing to install, it needs a student account and eduroam/internal connection)

Try JupyterHub and upload there the alternative version of the notebooks:

  1. New/Terminal
  2. Execute wget https://github.com/AlessandroChecco/pandas-tutorial/archive/master.zip
  3. Execute unzip master.zip
  4. Close the tab
  5. Click on pandas-tutorial folder and launch JupyterHub notebooks (ipynb files marked with jupyterhub name).

Content (no interaction)

If nothing else works you can still look at the documents. To view the content on nbviewer:

  1. Introduction
  2. Basics
  3. Indexing and Groupby
  4. Time series