diff --git a/docs/docs/integrations/toolkits/pandas.ipynb b/docs/docs/integrations/toolkits/pandas.ipynb index 5d4cf3e6fc0..6244ff0735b 100644 --- a/docs/docs/integrations/toolkits/pandas.ipynb +++ b/docs/docs/integrations/toolkits/pandas.ipynb @@ -116,7 +116,7 @@ } ], "source": [ - "agent.run(\"how many rows are there?\")" + "agent.invoke(\"how many rows are there?\")" ] }, { @@ -154,7 +154,7 @@ } ], "source": [ - "agent.run(\"how many people have more than 3 siblings\")" + "agent.invoke(\"how many people have more than 3 siblings\")" ] }, { @@ -204,7 +204,7 @@ } ], "source": [ - "agent.run(\"whats the square root of the average age?\")" + "agent.invoke(\"whats the square root of the average age?\")" ] }, { @@ -264,7 +264,7 @@ ], "source": [ "agent = create_pandas_dataframe_agent(OpenAI(temperature=0), [df, df1], verbose=True)\n", - "agent.run(\"how many rows in the age column are different?\")" + "agent.invoke(\"how many rows in the age column are different?\")" ] }, {