Former-commit-id: bcf44da2b5
workerULTRANODE
Kye 2 years ago
parent 4aef49518e
commit 8ce191b0c4

@ -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

@ -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)

Loading…
Cancel
Save