I know how to save a DF as a csv file. I want the csv as a string and I dont want to have to save, then load.
df.to_csv('test.csv',index=True)
my_csv = open('test.csv').read()
print type(my_csv)
<type 'str'>
Rather I would rater do the below:
my_csv = df.to_csv()