From 9ff2cfde76f9a1490cfcf64b7236310653dcf98d Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 12 Jul 2023 19:17:20 -0400 Subject: [PATCH] clean up Former-commit-id: ef9acddf2858ae75bd0ab95f3558e62c1ee55ef5 --- swarms/agents/workers/WorkerUltraNode.py | 4 +++- swarms/utils/main.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/swarms/agents/workers/WorkerUltraNode.py b/swarms/agents/workers/WorkerUltraNode.py index 7118d4e7..e852a406 100644 --- a/swarms/agents/workers/WorkerUltraNode.py +++ b/swarms/agents/workers/WorkerUltraNode.py @@ -6,7 +6,9 @@ from typing import Dict, List from swarms.agents.utils.AgentManager import AgentManager from swarms.utils.main import BaseHandler, FileHandler, FileType -from swarms.tools.agent_tools import CsvToDataframe, ExitConversation, RequestsGet, CodeEditor, Terminal +from swarms.tools.agent_tools import ExitConversation, RequestsGet, CodeEditor, Terminal +from swarms.utils.main import CsvToDataframe + from swarms.tools.main import BaseToolSet from swarms.utils.main import StaticUploader diff --git a/swarms/utils/main.py b/swarms/utils/main.py index 8fde50bb..b512abe8 100644 --- a/swarms/utils/main.py +++ b/swarms/utils/main.py @@ -402,7 +402,7 @@ class FileHandler: from swarms.prompts.prompts import DATAFRAME_PROMPT - +import pandas as pd class CsvToDataframe(BaseHandler): def handle(self, filename: str): df = pd.read_csv(filename)