Hi I connected to the salesforce using simple_salesforce module and targeted it to the report i wanted to extract. At this moment I have the desired data in csv comma seperated format and when I write
d.content
it shows the data in comma separated but I want to have the same data in pandas dataframe.
d = session.get("https://nax.salesforce.com/xxxxxxxxxx?export=1&enc=UTF-8&xf=csv".format('xxxxxxxxxx'), headers=sf.headers, cookies={'sid': sf.session_id})
then
in[22]: d.content
out[22]: "whole comma seperated data"
I want the above data to be in pandas or saved in csv
when I write:
pd.DataFrame(d)
it gives an error out as
PandasError: DataFrame constructor not properly called!
Please tell me how can I take it further to save the following data in either csv or insert in pandas to save it further.