Code Monkey home page Code Monkey logo

pydata-chi-h2t's Introduction

Pandas .head() to .tail()

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 United States License

Materials for the pandas tutorial at PyData Chicago 2016.

Setup

Change directory into the tutorial repo:

$ cd pydata-chi-h2t

And proceed with the installation, depending on whether you're using conda or pip.

Conda / Miniconda

Create a new environment using the provided environment.yml

$ conda env create

This will make a new environment called ph2t. Once it's created, make sure to run source activate ph2t or activate ph2t (depending on your platform) to activate it.

Check the install with

$ python check_environment.py

Then run

$ jupyter notebook

and open the first notebook 1-Basics.ipynb.

Pip / virtualenv

Hopefully you know what you're doing. I believe the current recommended way of creating virtualenvs is either

$ pyvenv /path/to/new/virtual/environment

or

$ python3 -m venv myenv

Make sure that you're creating a python3 environment. The notebooks should mostly work with python2, but no promises. If you call the environment ph2t, then activate it and install the requirements.

$ source /path/to/ph2t/bin/activate
$ python -m pip install -r requirments.txt

Check the install with

$ python check_environment.py

Then run

$ jupyter notebook

and open the first notebook 1-Basics.ipynb.

Notebooks

  1. Basics
  2. Operations
  3. Indexing
  4. Groupby and Reshaping
  5. Tidy Data
  6. For Stats & ML

Further Resources

pydata-chi-h2t's People

Contributors

tomaugspurger avatar gitter-badger avatar

Watchers

James Cloos 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.