csvcoolCool way to deal with 'headed' CSV | |
Download |
csvcool Ranking & Summary
Advertisement
csvcool Tags
csvcool Description
Cool way to deal with 'headed' CSV csvcool is a Python utility that provides a cool way to deal with 'headed' CSV.Rules of the parser 1 - First row is a list of column names. 2 - All rows have the same numbers of columns. 3 - Empty column names are ignored. 4 - Columns without name are ignored.Example: name0 name1 name3 v0 v2 v3 v4Equivalent: name0 name1 name3 v0 v2Use: >>> import csvcool >>> cool = csvcool.read(open("path/to/csv")) >>> cool v0 >>> cool = 1 >>> cool 1 >>> csvcool.write(cool, open("path/to/csv", "w")) Requirements: · Python
csvcool Related Software