I would like to include a table in an xml file. For this, I need to convert the panda's data frame into a string.
I tried applying the following code
string = df.to_string
but when I tried, I am getting the following error:
"TypeError: cannot serialize <bound method DataFrame.to_string of"
any help greatly appreciated.