Skip to content

Commit

Permalink
docs: point to titantic dataset on web (#19455)
Browse files Browse the repository at this point in the history
Updated `pd.read_csv("titantic.csv")` to
`pd.read_csv("https://raw.githubusercontent.com/pandas-dev/pandas/main/doc/data/titanic.csv")`
i.e. it will read it
https://raw.githubusercontent.com/pandas-dev/pandas/main/doc/data/titanic.csv
and allow anyone to run the code.

Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
  • Loading branch information
raybellwaves and baskaryan committed Mar 22, 2024
1 parent f959fad commit 7d36ee3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/docs/integrations/toolkits/pandas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"import pandas as pd\n",
"from langchain_openai import OpenAI\n",
"\n",
"df = pd.read_csv(\"titanic.csv\")"
"df = pd.read_csv(\n",
" \"https://raw.githubusercontent.com/pandas-dev/pandas/main/doc/data/titanic.csv\"\n",
")"
]
},
{
Expand Down

0 comments on commit 7d36ee3

Please sign in to comment.