cps6-111018

cps6-111018 - CompSci 6 Introduction to Computer Science...

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

View Full Document Right Arrow Icon

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

View Full Document Right Arrow Icon

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

View Full Document Right Arrow Icon

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

View Full Document Right Arrow Icon

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 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? Data as a spreadsheet Data as a .csv file Problem: Which state has highest murder rate? Lowest rate?...
View Full Document

{[ snackBarMessage ]}

Page1 / 16

cps6-111018 - CompSci 6 Introduction to Computer Science...

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

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