Git Product home page Git Product logo

pycar's Introduction

Python micro boot camp at #NICAR15 in Atlanta

Want to upgrade your data skills? Come learn the Python programming language in this three-hour micro boot camp. Geared toward beginners, this class with go over language basics and introduce you to key concepts. You'll then take your new Python skills and learn how to read, manipulate and analyze data from a spreadsheet.

All are welcome, though some familiarity with spreadsheets and the command line will certainly help.

Let's use Wakari.io bundles for this class. Sign up if you haven't already. Everything we'll cover in this session is included in this Github repository.

In the event of spotty internet connection, we'll have the bundles on the machines, and we can use the Anaconda distro of Python's interactive interpreter in Windows PowerShell.

Schedule for the session

Introduction (~40 min total)

  • Get folks setup with Wakari (~15 min)
  • Who are we? (~5 min)
  • What is Python? (What's the meaning of life?) (~10 min)
  • Work we've done with Python (~10 min)

Project #1: Python basics (45 - 60 min)

  • Explain the language's components. Primarily focuses on:
    • Data types
    • Functions
  • Working through Project #1
    • Learn I/O operations
    • Working with CSV files
    • Manipulating types

For this project, we'll start with a CSV. Let's write some basic scripts to see what we're working with. Then we'll introduce some key Python types like strings, integers, lists, slicing and loops.

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 the file at the command line.

We'll hold your hand through it, step by step.

Project #2: baseball.py (~60 min)

  • Practical example of using python for data analysis
  • We'll walk through the script
    • What does each block of code do?
    • Why are making certain choices?
  • We'll have you walk through baseball.py
    • Fill in the blanks with code that does what the comments describe
    • User baseball_complete.py as your cheatsheet
    • Ask questions, request help

We have a CSV of baseball player salaries. Let's figure out who makes the most money and examine some other biographical information about them, using dictionaries.

The Wakari bundle

That's all, folks!

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

  • A lightning dash through basic variables, types and functions.
  • the working, commented code for each project from our git repo
  • a walkthrough for setting up your machine at home with Python, version control and virtualenvs.
  • Good libraries to explore with strong tutorials
  • lifetime support guarantee from us & PythonJournos

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

aboutaaron avatar chrislkeller avatar esagara avatar hbillings avatar kevinschaul avatar malev avatar rdmurphy avatar rnagle avatar tommeagher avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pycar's Issues

Should we create half-finished scripts for folks who drop in mid-way?

From Alex:

You may want to keep a couple of scripts on hand that are partially written so people could come in after an hour or two and just be able to keep going with everyone else.

Our scripts have a start state (empty) and a finished state (completed), but we don't have a contingency plan for folks who come in when after the first hour. What are our thoughts for helping those folks?

Tipsheet

From Stephanie:

Attendees are always eager to see tipsheets and other handouts asap. To help us share them as quickly as possible, please send your electronic tipsheets & reprints to [email protected]. We'll compile all of the information we receive and post it on the conference website during the event and will archive it in the IRE Resource Center for future reference.

I believe the "Take Home" part of the session will be ours, but it may be worth sending a README plus the google slideshow over.

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.