When index=False an extra column is added because the leading comma is never removed.
def toCSV(self, path, nanRep='', cols=None, header=True, index=True, mode='wb'):
*<snip>*
for idx in self.index:
if index:
f.write(str(idx))
for col in cols:
*<snip>*
f.write(',%s' % val)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4