Former-commit-id: ef9acddf2858ae75bd0ab95f3558e62c1ee55ef5
pull/160/head
Kye 2 years ago
parent 903fc60e14
commit 9ff2cfde76

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