Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: use DataFrame.map instead of deprecated DataFrame.applymap (#24726)
Willc4496e6cf2ea
diff --git a/api/core/workflow/nodes/document_extractor/node.py b/api/core/workflow/nodes/document_extractor/node.pyindex a61e6ba4ac7..b820999c3a9 100644--- a/api/core/workflow/nodes/document_extractor/node.py+++ b/api/core/workflow/nodes/document_extractor/node.py@@ -515,14 +515,14 @@ def _extract_text_from_excel(file_content: bytes) -> str:df.dropna(how="all", inplace=True)# Combine multi-line text in each cell into a single line- df = df.applymap(lambda x: " ".join(str(x).splitlines()) if isinstance(x, str) else x) # type: ignore+ df = df.map(lambda x: " ".join(str(x).splitlines()) if isinstance(x, str) else x)# Combine multi-line text in column names into a single linedf.columns = pd.Index([" ".join(str(col).splitlines()) for col in df.columns])# Manually construct the Markdown tablemarkdown_table += _construct_markdown_table(df) + "\n\n"- except Exception as e:+ except Exception:continuereturn markdown_tableexcept Exception as e: