fopp icon indicating copy to clipboard operation
fopp copied to clipboard

add .csv reading/writing to the Files chapter

Open presnick opened this issue 6 years ago • 2 comments

  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.

presnick avatar Jul 25 '18 21:07 presnick

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.

bnmnetp avatar Jul 25 '18 21:07 bnmnetp

Working on part 1 issue now. - Berea college student

Grantrd avatar Sep 30 '19 17:09 Grantrd