openpyxl.utils.dataframe module

openpyxl.utils.dataframe.dataframe_to_rows(df, index=True, header=True)[source]

Convert a Pandas dataframe into something suitable for passing into a worksheet