GithubHelp home page GithubHelp logo

agencetca / pycar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ireapps/pycar

0.0 1.0 0.0 6.3 MB

The Python mini boot camp for NICAR 2019 in Newport Beach, California.

Home Page: https://ireapps.github.io/pycar/pycar_intro.html

License: MIT License

HTML 33.80% Jupyter Notebook 66.20%

pycar's Introduction

______      _____   ___  ______  __   _____
| ___ \    /  __ \ / _ \ | ___ \/  | |  _  |
| |_/ /   _| /  \// /_\ \| |_/ /`| | | |_| |
|  __/ | | | |    |  _  ||    /  | | \____ |
| |  | |_| | \__/\| | | || |\ \ _| |_.___/ /
\_|   \__, |\____/\_| |_/\_| \_|\___/\____/ 
       __/ |                                
      |___/                                                                

Python mini boot camp at #NICAR19 in Newport Beach, California.

In this two-day workshop, we'll use the Jupyter notebook to explore the Python programming language. At the end of the class, we'll give you all of the code from the exercises, along with several cheatsheets and tutorials, to take home with you, all from this code repository on Github.

Day 1

  • Who are you, what do you do, what do you want to learn?
  • What will we learn?
  • What can I do with it?
  • The goal of the day is to start to learn how to think about solving problems.

We'll introduce some key concepts of programming and Python types like strings, integers, lists, slicing and loops.

As with many data analyses, it all starts with a CSV. After a white board exercise, we'll start with a file of pseudocode, and we'll walk through writing the program in Python code, running each line in the Jupyter interpreter. We'll hold your hand through each step of the process.

Day 2

This section covers gathering data from the web in two common formats. In the first part, we'll scrape structured data from an HTML page using a GET request and write the data to a CSV. In the second part, we'll request data from an API to get information programmatically to create a spreadsheet. Our data comes in a new format: JSON. We'll do some more with the white board to show how it's basically a combination of data structures we already know about: Lists and dictionaries (arrays and objects).

Now we get to the heart of data analysis with an introduction to the powerful pandas library. Building on the basic objects we've already learned, and on a little knowledge of SQL, we'll clean two related tables of data, join and filter them.

At the end of the day, we'll send you home with:

Help!

If you're working through this code at home and have trouble, please let us know. The best option is to file an issue report of the bug so we can help you. You can also reach out to any of us on Twitter or ping PythonJournos.

pycar's People

Contributors

tommeagher avatar chrislkeller avatar hbillings avatar esagara avatar katiepark avatar kevinschaul avatar zufanka avatar scott2b avatar robroc avatar richardsalex avatar thejqs avatar meli-lewis avatar rdmurphy avatar aboutaaron avatar elainewong avatar smbsimon 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.