GithubHelp home page GithubHelp logo

geneva-python-pandas's Introduction

Module: Working with Data Using Pandas

Meta-Information

  • Module Maintainer: Lachlan Deer (@lachlandeer)
  • Course: SWC Geneva

Contents

This repository contains a relatively quick introduction to the Python library Pandas using a dataset on US state employment numbers. Pandas is the default library for data-wrangling in Python and has fast become a competitor to R's libraries like dplyr and data.table.

Contents of these modules will be taught at a Software Carpentry Workshop at the University of Geneva in March 2018.

The goals of the lesson are to:

  1. Introduce Pandas Objects
  2. How to import and export data to/from python using pandas
  3. How to concatenate/append/merge data sets together
  4. How to index and select rows and columns of data
  5. Performing simple operations on data using ufuncs
  6. Ways to handle missing data
  7. The benefits of hierachical indexing
  8. Aggregate functions and the application of the split-apply-combine paradigm
  9. Plotting data from pandas dataframes using matplotlib

In additon, the aptly named XX-downloadingDataAPI demonstrates how the use the BLS API to download all the data series utilized in these modules. To keep things easy and reproducible, the data we use are stored in in_data, and any output data we produce will be stored in `out_data

Acknowledgements

This repository borrows almost one to one from:

Lachlan Deer, Adrian Etter, Julian Langer & Max Winkler, 2017, Scientfic Python - Quick-ish and Dirty Pandas for Economists, Programming Practices for Research in Economics, University of Zurich

and borrows substance, style and motivation from:

Jake VanderPlas (2016), Python Data Science Handbook Essential Tools for Working with Data, O'Reilly Media.

at times, maybe too liberally.

License

Creative Commons License

geneva-python-pandas's People

Contributors

lachlandeer avatar

Watchers

 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.