You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)