i am using kedro 0.18.14 and kedro datasets 1.4.2....
# questions
a
i am using kedro 0.18.14 and kedro datasets 1.4.2. I have defined in the catalog the excel file with multiple sheets (basically repeating for each sheet the same definition) but it doesnt work
n
Can you show how you define it in the catalog?
a
thanks! i checked the example but i dont know how to save different dataframes as different sheets in the same excel file
here is how i define it
df_result_final: type: pandas.ExcelDataSet load_args: sheet_name: Result_Final save_args: sheet_name: Result_Final layer: cleaning filepath: data/03_primary/Q_Filtrado_STL_IQR.xlsx df_describe_Q: type: pandas.ExcelDataSet load_args: sheet_name: Estadisticas_Antes_Result_Q save_args: sheet_name: Estadisticas_Antes_Result_Q index: True layer: cleaning filepath: data/03_primary/Estadisticas_Antes_Result_Q.xlsx
srry that is not
this:
df_result_final: type: pandas.ExcelDataSet load_args: sheet_name: Result_Final save_args: sheet_name: Result_Final layer: cleaning filepath: data/03_primary/Q_Filtrado_STL_IQR.xlsx df_describe_Q: type: pandas.ExcelDataSet load_args: sheet_name: Estadisticas_Antes_Result_Q save_args: sheet_name: Estadisticas_Antes_Result_Q index: True layer: cleaning filepath: data/03_primary/Q_Filtrado_STL_IQR.xlsx
a
thanks i will try