In [28]:
from csv_util import Csv
print Csv.__doc__
In [27]:
c = Csv("spdata.csv")
In [18]:
print ''.join(c.f.readlines()[:7])
In [23]:
print c.rows[3] # start counting from zero, excluding the header and any commented lines
In [9]:
print c.keys()
In [25]:
print c["time"][:10]
There are lots of other useful methods which I will document when I get some time!
In [ ]: