@@ -935,7 +935,7 @@ def read_html(
935
935
skiprows : Union [int , Sequence [int ], slice , None ] = None ,
936
936
attrs : Optional [Dict [str , str ]] = None ,
937
937
parse_dates : bool = False ,
938
- thousands : str = "," ,
938
+ thousands : Optional [ str ] = "," ,
939
939
encoding : Optional [str ] = None ,
940
940
decimal : str = "." ,
941
941
converters : Optional [dict ] = None ,
@@ -961,26 +961,26 @@ def read_html(
961
961
This value is converted to a regular expression so that there is
962
962
consistent behavior between Beautiful Soup and lxml.
963
963
964
- flavor : str or None
964
+ flavor : str, optional
965
965
The parsing engine to use. 'bs4' and 'html5lib' are synonymous with
966
966
each other, they are both there for backwards compatibility. The
967
967
default of ``None`` tries to use ``lxml`` to parse and if that fails it
968
968
falls back on ``bs4`` + ``html5lib``.
969
969
970
- header : int or list-like or None , optional
970
+ header : int or list-like, optional
971
971
The row (or list of rows for a :class:`~pandas.MultiIndex`) to use to
972
972
make the columns headers.
973
973
974
- index_col : int or list-like or None , optional
974
+ index_col : int or list-like, optional
975
975
The column (or list of columns) to use to create the index.
976
976
977
- skiprows : int or list-like or None , optional
977
+ skiprows : int, list-like or slice , optional
978
978
Number of rows to skip after parsing the column integer. 0-based. If a
979
979
sequence of integers or a slice is given, will skip the rows indexed by
980
980
that sequence. Note that a single element sequence means 'skip the nth
981
981
row' whereas an integer means 'skip n rows'.
982
982
983
- attrs : dict or None , optional
983
+ attrs : dict, optional
984
984
This is a dictionary of attributes that you can pass to use to identify
985
985
the table in the HTML. These are not checked for validity before being
986
986
passed to lxml or Beautiful Soup. However, these attributes must be
@@ -1008,7 +1008,7 @@ def read_html(
1008
1008
thousands : str, optional
1009
1009
Separator to use to parse thousands. Defaults to ``','``.
1010
1010
1011
- encoding : str or None , optional
1011
+ encoding : str, optional
1012
1012
The encoding used to decode the web page. Defaults to ``None``.``None``
1013
1013
preserves the previous encoding behavior, which depends on the
1014
1014
underlying parser library (e.g., the parser library will try to use
0 commit comments