[Python-ideas] csv.DictReader could handle headers more intelligently.

J. Cliff Dyer jcd at sdf.lonestar.org
Thu Jan 24 17:41:07 CET 2013


On Thu, 2013-01-24 at 16:23 +0000, Mark Hackett wrote:

> If someone took the repository of macros from the spreadsheet which used 
> column numbers and this was used to recreate EXACTLY whatever calculations 
> were done without having to keep two copies of the same algorithm to account 
> for the dropping of rows in the script, then dropping the rows would break 
> this.
> 

If that's the case, then why are you using a DictReader instead of a raw
csv.reader?  You're already losing the first row.




More information about the Python-ideas mailing list