Editing Community Data Science Workshops (Fall 2015)/Day 3 Lecture
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Material for the lecture == | == Material for the lecture == | ||
For the lecture, you will need two files. Download both of these to your computer by using right or control click on the link and then using ''Save as'' or ''Save link as''. Keep track of where you put the files. | For the lecture, you will need two files. Download both of these to your computer by using right or control click on the link and then using ''Save as'' or ''Save link as''. Keep track of where you put the files. | ||
* http://mako.cc/teaching/2015/cdsw- | * http://mako.cc/teaching/2015/cdsw-spring/harrypotter-wikipedia-cdsw.zip | ||
* http://communitydata.cc/~mako/hp_wiki.tsv | * http://communitydata.cc/~mako/hp_wiki.tsv | ||
Line 22: | Line 16: | ||
* Lunch (vegetarian Greek!) | * Lunch (vegetarian Greek!) | ||
* Project based work | * Project based work | ||
** Wikipedia | ** More [[Harry Potter on Wikipedia]] project (or your own topic) on doing analysis using Google Docs | ||
** [[Matplotlib]] | ** [[Matplotlib]] | ||
** Civic Data - More interactive working on projects | |||
** Room for you to to work on your projects! | |||
* Wrap-up! | * Wrap-up! | ||
Line 33: | Line 27: | ||
* My philosophy about data analysis: ''use the tools you have'' | * My philosophy about data analysis: ''use the tools you have'' | ||
* Four things in Python I have to teach you | * Four things in Python I have to teach you: | ||
** while loops | ** while loops | ||
*** infinite loops | *** infinite loops | ||
Line 39: | Line 33: | ||
** break / continue | ** break / continue | ||
** "\t".join() | ** "\t".join() | ||
** defining your own functions with <code>def foo(argument):</code> | ** defining your own functions with <code>def foo(argument):</code> | ||
'''Step 2: Walking through a Program''' | '''Step 2: Walking through a Program''' |