So I know Python strings are immutable, but I have a string:
c[\'date\'] = \"20110104\"
Which I would like to convert to
c[\'da
You could use .join() to clean it up a little bit:
.join()
d = c['date'] '-'.join([d[:4], d[4:6], d[6:]])