ecs10-05-02

ecs10-05-02 - ECS 10: Basic Concepts of Computing Prof....

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

View Full Document Right Arrow Icon
1 1 ECS 10: Basic Concepts of Computing Prof. Michael Gertz gertz@cs.ucdavis.edu May 2, 2008 2 Announcements ± Assignment 3 is due today at 10pm, electronically through MyUCDavis. ± Grades and solutions for assignment 2 have been posted at MyUCDavis and class Web site. ± Assignment 4 will be posted this weekend ± Monday and Wednesday next week, Michael Byrd will give the lectures (dictionaries in Python . ..)
Background image of page 1

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

View Full DocumentRight Arrow Icon
3 In the previous lecture. .. ± Comma separated value (CSV) files ± Very common format to represent tabular data ± Field delimiter can be different from comma ± Each line corresponds to one “record” ± Typically processed line-by-line (first line often is the “header” line naming the columns) ± Access to fields of a record using split( ) function ± Iterate through fields using for-loop or access fields based on position in list returned by split() function ± All fields are strings! ± If you want to do some computations, you have to convert
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.

Page1 / 7

ecs10-05-02 - ECS 10: Basic Concepts of Computing Prof....

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