-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Description
System Info
import os
from pandasai import SmartDataframe
import pandas as pd
from pandasai.llm import AzureOpenAI
df = pd.read_csv("C:/Users/hp/Downloads/titanic.csv")
llm = AzureOpenAI(
api_token="",
azure_endpoint="",
api_version="",
deployment_name="gpt-4o-mini"
)
df1 = SmartDataframe(df, config={"llm": llm})
df1.chat("what are the column name in the dataframe")
i am getting the below error :
"Unfortunately, I was not able to answer your question, because of the following error:\n\n'Index' object has no attribute '_format_native_types'\n"
🐛 Describe the bug
"""
i am getting the below error :
"Unfortunately, I was not able to answer your question, because of the following error:\n\n'Index' object has no attribute '_format_native_types'\n"
"""
Metadata
Metadata
Assignees
Labels
No labels