Merge branch 'feature/20251219_lxc' into develop

This commit is contained in:
lixiangcheng1
2025-12-30 19:07:11 +08:00

View File

@@ -69,7 +69,8 @@ class RAGExcelParser:
@staticmethod @staticmethod
def _dataframe_to_workbook(df): def _dataframe_to_workbook(df):
# if contains multiple sheets use _dataframes_to_workbook # if contains multiple sheets use _dataframes_to_workbook
if isinstance(df, dict) and len(df) > 1: # if isinstance(df, dict) and len(df) > 1:
if isinstance(df, dict):
return RAGExcelParser._dataframes_to_workbook(df) return RAGExcelParser._dataframes_to_workbook(df)
df = RAGExcelParser._clean_dataframe(df) df = RAGExcelParser._clean_dataframe(df)