RunestoneInteractive / fopp

Foundations of Python Programming
https://runestone.academy/runestone/static/fopp/index.html
38 stars 120 forks source link

add .csv reading/writing to the Files chapter #77

Open presnick opened 6 years ago

presnick commented 6 years ago

1) Change the file writing page to be much simpler, just showing that you can write a file with all the squared numbers from 1 to 12*12

2) Add a page describing the .csv format

3) Add a page describing how to read data in .csv format, manually (not with .csv module). Use olympics data that @bnmnetp will point you to, from a kaggle competition. 4) Add a page describing how to write data in .csv format, manually without using the .csv module. Base it on https://106w18.learningpython.today/runestone/static/UMSI106/StringFormatting/CSV.html. Use the olympics data again. Perhaps just extract a few of the fields to write to a smaller .csv file.

bnmnetp commented 6 years ago

https://www.kaggle.com/heesoo37/120-years-of-olympic-history-athletes-and-results#athlete_events.csv

You can just pick a smallish subset of the rows and columns from this.

Grantrd commented 5 years ago

Working on part 1 issue now. - Berea college student