There is a widely-quoted method in the following answer for specifying date format when using pandas to_csv:
How to specify date format when using pandas.to_csv?
This answer describes:
date_format='%Y%m%d'
But I have a different requirement for which can find no information.
How can I specify a different date format for the actual year/month/day tokens?
...date_format='%Y%m%d'... translates to 2014/10/2 as of today's date. I can use this information to juggle the same data around -- eg 10/2/2014, but I cannot change the format itself.
I would like to output 02-Oct_2014. I tried '%dd%mmm%yyyy' but the extra letters are just added as extra letters -- no change in the date format.
Is it possible to specify formats other than permutations of '%Y%m%d'?