cps6-111018Handout

cps6-111018Handout - Announcements CompSci 6 Introduction...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CompSci 6 Introduction to Computer Science October 18, 2011 Prof. Rodger Announcements • Read for next time Chap. 10 • Reading Quiz on Blackboard – Due before class next time • Assignment 4 is due Thursday • See article “Big Data, Big Responsibility” Assignment 4 • Two problems to solve – 2 Python modules • Create a third Python module – Identify common functions and put in the third module – maximize this! – Example function – reading from a file – Use import to read this module into the two programs • Questions? Back to Example: Which state has the highest murder rate? • Get datafile – Infochimps – Crime rate by states 2004 and 2005 • Csv file – separator is comma • Data may be messy – look at it • How do we figure out which state had the highest/lowest murder rate?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Data as a spreadsheet Data as a .csv file Problem: Which state has highest murder rate? Lowest rate?
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 01/17/2012.

Page1 / 4

cps6-111018Handout - Announcements CompSci 6 Introduction...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online