Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix table parser issue. (#5482)

Kevin Hub418ce56433f
diff --git a/rag/app/table.py b/rag/app/table.py
index b35cb105eb..18620810ef 100644
--- a/rag/app/table.py
+++ b/rag/app/table.py
@@ -223,7 +223,7 @@ def chunk(filename, binary=None, from_page=0, to_page=10000000000,
continue
if not str(row[clmns[j]]):
continue
- if pd.isna(row[clmns[j]]):
+ if not isinstance(row[clmns[j]], pd.Series) and pd.isna(row[clmns[j]]):
continue
fld = clmns_map[j][0]
d[fld] = row[clmns[j]] if clmn_tys[j] != "text" else rag_tokenizer.tokenize(