def populateScadaGraphDataSectionData(configFilePath, configSheetName,
                                      outputFilePath, outputSheetName):
    sectionDataDf = getScadaGraphDataSectionDataDf(configFilePath,
                                                   configSheetName)
    # dump data to excel
    append_df_to_excel(outputFilePath,
                       sectionDataDf,
                       sheet_name=outputSheetName,
                       startrow=0,
                       truncate_sheet=True,
                       index=False)
Exemplo n.º 2
0
def populateRegProfSectionData(configFilePath,
                               configSheetName,
                               outputFilePath,
                               outputSheetName,
                               truncateSheet=False):
    sectionDataDf = getRegProfSectionDataDf(configFilePath, configSheetName)
    # dump data to excel
    append_df_to_excel(outputFilePath,
                       sectionDataDf,
                       sheet_name=outputSheetName,
                       startrow=0,
                       truncate_sheet=truncateSheet,
                       index=False,
                       header=False)