Using Python, Azure functions I am generating df. Now I want to download it (save it) on local machine as excel.
Azure function is http trigger. Whenever function is triggered file should be downloaded. Anyone with idea how this could be achieved?
Using Python, Azure functions I am generating df. Now I want to download it (save it) on local machine as excel.
Azure function is http trigger. Whenever function is triggered file should be downloaded. Anyone with idea how this could be achieved?
Once your data frame is completed and the browser triggers the function, the function should have the below code in it. .to_excel changes the dataframe existing in your code to an excel document at the location you enter into the file path you provide.
df.to_excel(filepath)