Skip to content

Commit 0c15e37

Browse files
committed
Remove bytes in decimal default value
1 parent 111625f commit 0c15e37

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/source/whatsnew/v0.18.2.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Other enhancements
7979
- ``Index.astype()`` now accepts an optional boolean argument ``copy``, which allows optional copying if the requirements on dtype are satisfied (:issue:`13209`)
8080
- ``Categorical.astype()`` now accepts an optional boolean argument ``copy``, effective when dtype is categorical (:issue:`13209`)
8181

82-
- The ``pd.read_html()`` has gained support for the ``decimal`` option (:issue:`12907`)
82+
- ``pd.read_html()`` has gained support for the ``decimal`` option (:issue:`12907`)
8383

8484
.. _whatsnew_0182.api:
8585

pandas/io/html.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ def _parse(flavor, io, match, header, index_col, skiprows,
757757
def read_html(io, match='.+', flavor=None, header=None, index_col=None,
758758
skiprows=None, attrs=None, parse_dates=False,
759759
tupleize_cols=False, thousands=',', encoding=None,
760-
decimal=b'.'):
760+
decimal='.'):
761761
r"""Read HTML tables into a ``list`` of ``DataFrame`` objects.
762762
763763
Parameters
@@ -837,6 +837,8 @@ def read_html(io, match='.+', flavor=None, header=None, index_col=None,
837837
Character to recognize as decimal point (e.g. use ',' for European
838838
data).
839839
840+
.. versionadded:: 0.18.2
841+
840842
Returns
841843
-------
842844
dfs : list of DataFrames

0 commit comments

Comments
 (0)