James Gray
6/15/2009 1:54:00 AM
On Jun 14, 2009, at 6:31 PM, Paul Shapiro wrote:
> I have been struggling for days on just the first part of this script.
> Please help! I need to add the ability to delete the last column of
> each
> csv, which vary in their lengths.
I'm not familiar with rio, but the process using most CSV parsers
would be:
* Write a loop that reads and writes CSV (copies it effectively)
* Instead of writing the whole row, just write all the fields but the
last one with something like: row[0..-2]
I hope that helps.
James Edward Gray II