Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,911 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I would like to know the code and how to do it for AzureFunction to convert a macro valid excel file (.xlsm) in gen2 to a csv file using python in azure function.
Hi,
This is the code from this link https://www.codegrepper.com/code-examples/python/move+excel+xlsm+to+csv+file+python
python
import pandas as pd
data_xls = pd.read_excel('excelfile.xlsx', 'Sheet2', dtype=str, index_col=None)
data_xls.to_csv('csvfile.csv', encoding='utf-8', index=False)
And how to create an Azure Function https://www.serverlessnotes.com/docs/create-an-azure-function-with-python
Kind regards, Kilian GOËTZ.