docs: point to titantic dataset on web (#19455)

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>
pull/19416/head^2
Ray Bell 3 months ago committed by GitHub
parent f959fad56e
commit 7d36ee38b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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",
")"
]
},
{

Loading…
Cancel
Save