From 43a76683ac9f0a4522a97f4651525ff3d06422cc Mon Sep 17 00:00:00 2001 From: Manuel <124151705+manuf3006@users.noreply.github.com> Date: Mon, 4 May 2026 10:27:55 +0200 Subject: [PATCH] Update pd.read_html to include storage options Added storage options to pd.read_html for user agent. --- docs/python-extensive/data/tabular.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/python-extensive/data/tabular.md b/docs/python-extensive/data/tabular.md index 5f865c3f..bc55f04d 100644 --- a/docs/python-extensive/data/tabular.md +++ b/docs/python-extensive/data/tabular.md @@ -227,7 +227,7 @@ You might have noticed that the HTML code is quite complex. Nevertheless, we can easily extract all the tables on the page with `pandas`: ```python -tables = pd.read_html("https://en.wikipedia.org/wiki/Austrian_Traded_Index") +tables = pd.read_html("https://en.wikipedia.org/wiki/Austrian_Traded_Index", storage_options={"User-Agent": "Mozilla/5.0"}) print(type(tables)) ```