amphi-ai / amphi-etl

Python-based Low-code ETL. Generates Python code you can deploy anywhere.

Home Page:https://docs.amphi.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Excel File Output : incorrect option for sheet name

amoradell opened this issue · comments

Excel File Output component doesn't use correct name for sheet_name option

it uses "sheet" instead of "sheet_name"

  • incorrect
    sqlQuery1.to_excel("c:/dev/db/localites2.xlsx", index=False, sheet='Feuil1')
  • correct
    sqlQuery1.to_excel("c:/dev/db/localites2.xlsx", index=False, sheet_name='Feuil1')

Thanks for reporting, it's been fixed in the latest version:
pip install --upgrade --force-reinstall amphi-etl (or jupyterlab-amphi if using Jupyterlab)

I add engine = "xlsxwriter" option to pandas to_excel to compare with openpyxl