Uploading, downloading files and equations in text

Can we download excel files those generated by your app in the similar fashion?

Hi @pyuser – Since @Marc’s solution basically uses pandas’ “to_csv” function to do the work, you might try replacing that part of the File Download Workaround with the “to_excel” method documented in the Pandas docs here.

In other words, instead of this line:

csv = df.to_csv(index=False)

You’d put something like this:

xsl = df.to_excel()

I think this will work, or at least this is the stub of a solution. Let us know if you get it working!