You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
I am trying to create a basetool that takes a CSV from google drive and convert to a dataframe. It is literally driving me crazy because I get an error at line 95 but there is no line 95. It must be a problem with Lanchain import but I can't figure out what
`import pandas as pd
import re
import requests
from io import StringIO
from langchain.tools import BaseTool
from langchain.agents import create_pandas_dataframe_agent
class CustomPandaCsvTool(BaseTool):
name = "CustomPandaCsvTool"
description = "Retrieve data from a CSV file in Google Drive and process it with Pandas"
return_direct = True
I am trying to create a basetool that takes a CSV from google drive and convert to a dataframe. It is literally driving me crazy because I get an error at line 95 but there is no line 95. It must be a problem with Lanchain import but I can't figure out what
`import pandas as pd
import re
import requests
from io import StringIO
from langchain.tools import BaseTool
from langchain.agents import create_pandas_dataframe_agent
class CustomPandaCsvTool(BaseTool):
name = "CustomPandaCsvTool"
description = "Retrieve data from a CSV file in Google Drive and process it with Pandas"
return_direct = True
The text was updated successfully, but these errors were encountered: