From d0eda8369700e196a3b3024800e0215b8f9f9dd2 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Mon, 17 Mar 2025 18:17:25 +0800 Subject: [PATCH] Fix: none item while concating df. (#6176) ### What problem does this PR solve? #6065 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- agent/canvas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/canvas.py b/agent/canvas.py index b57dab326..bb13ab6c3 100644 --- a/agent/canvas.py +++ b/agent/canvas.py @@ -235,7 +235,7 @@ class Canvas: pid = self.components[cid]["parent_id"] o, _ = self.components[cid]["obj"].output(allow_partial=False) oo, _ = self.components[pid]["obj"].output(allow_partial=False) - self.components[pid]["obj"].set(pd.concat([oo, o], ignore_index=True)) + self.components[pid]["obj"].set(pd.concat([oo, o], ignore_index=True).dropna()) downstream = [pid] for m in prepare2run(downstream):