Skip to content

Pandas doesn't allow columns to be created via a new attribute name #4

Open
@FahimMohd

Description

@FahimMohd

conv_df = PandasLLM(data=df, llm_api_key = os.environ.get("OPENAI_API_KEY"))

/tmp/ipykernel_32725/1067823130.py:21: UserWarning: Pandas doesn't allow columns to be created via a new attribute name - see https://pandas.pydata.org/pandas-docs/stable/indexing.html#attribute-access
conv_df = PandasLLM(data=df, llm_api_key = os.environ.get("OPENAI_API_KEY"))

I get this error always, tried using the list instead of df, and removing api_key but still get the same error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions