Re: [Tutor] Fwd: Need help with reading and cleaning CSV files for a class

2018-01-29 Thread Neil Cerutti
On 2018-01-28, Geoff Hancock wrote: > Good day- > I'm in a difficult situation. > I have been asked to help teach students how to clean up a CSV > file in Python. Can you give an example of the kind of thing you need to teach? It is malformed csv that has to be changed into

Re: [Tutor] Fwd: Need help with reading and cleaning CSV files for a class

2018-01-28 Thread Alan Gauld via Tutor
On 28/01/18 13:36, Geoff Hancock wrote: > Good day- > I have been asked to help teach students how to clean up a CSV file in > Python. I'm not sure what you mean by "clean up" a CSV file. If the file is malformed then turning it into a well formed CSV file is a non trivial text processing task.

Re: [Tutor] Fwd: Need help with reading and cleaning CSV files for a class

2018-01-28 Thread leam hall
On Sun, Jan 28, 2018 at 8:36 AM, Geoff Hancock wrote: > Good day- > I'm in a difficult situation. > I have been asked to help teach students how to clean up a CSV file in > Python. > The job has fallen to me because the teacher of the course is out on > emergency leave and I

[Tutor] Fwd: Need help with reading and cleaning CSV files for a class

2018-01-28 Thread Geoff Hancock
Good day- I'm in a difficult situation. I have been asked to help teach students how to clean up a CSV file in Python. The job has fallen to me because the teacher of the course is out on emergency leave and I just found out. Tomorrow I have to show students how to get a CSV file and write code to