I'm wondering if there is a method to change the string formatting in pandas.DataFrame.to_csv.
In particular, I'd like to set each column header to something like %20s so that they are all evenly spaced out in the file. I read this stackexchange but I was hoping to do it without writing the header beforehand.
Thanks in advance.