From e06a2c29799dededad127b7e28289ecce16e56ff Mon Sep 17 00:00:00 2001 From: ritwizsinha Date: Mon, 8 Jul 2024 21:05:55 +0530 Subject: [PATCH] Update read_html docs --- pandas/io/html.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pandas/io/html.py b/pandas/io/html.py index db4c5f8507946..4b8bc48130fab 100644 --- a/pandas/io/html.py +++ b/pandas/io/html.py @@ -1178,7 +1178,10 @@ def read_html( **after** `skiprows` is applied. This function will *always* return a list of :class:`DataFrame` *or* - it will fail, i.e., it will *not* return an empty list. + it will fail, i.e., it will *not* return an empty list, save for some + rare cases. + It might return an empty list in case of inputs with single row and + ```` containing only whitespaces. Examples --------