Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Skip checking for null when column is a list, closes #296

davidmezzetti84d782c146e9
diff --git a/src/python/txtai/pipeline/data/tabular.py b/src/python/txtai/pipeline/data/tabular.py
index 98e9e845..54da281a 100644
--- a/src/python/txtai/pipeline/data/tabular.py
+++ b/src/python/txtai/pipeline/data/tabular.py
@@ -151,4 +151,5 @@ class Tabular(Pipeline):
formatted value
"""
- return None if pd.isnull(value) else value
+ # Check for null - treat lists as not null
+ return None if not isinstance(value, list) and pd.isnull(value) else value