diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 0084e885db2b5..1e078f154ced4 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -1149,7 +1149,7 @@ To completely override the default values that are recognized as missing, specif .. _io.navaluesconst: The default ``NaN`` recognized values are ``['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN', '#N/A N/A', '#N/A', 'N/A', -'n/a', 'NA', '', '#NA', 'NULL', 'null', 'NaN', '-NaN', 'nan', '-nan', 'None', '']``. +'n/a', 'NA', '', '#NA', 'NULL', 'null', 'NaN', '-NaN', 'nan', '-nan', '']``. Let us consider some examples: diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx index e97f214616ea6..40a4473954d05 100644 --- a/pandas/_libs/parsers.pyx +++ b/pandas/_libs/parsers.pyx @@ -1410,7 +1410,6 @@ STR_NA_VALUES = { "nan", "-nan", "", - "None", } _NA_VALUES = _ensure_encoded(list(STR_NA_VALUES)) diff --git a/pandas/tests/io/parser/test_na_values.py b/pandas/tests/io/parser/test_na_values.py index 9a16ec5a50d36..9aae4b5152bf5 100644 --- a/pandas/tests/io/parser/test_na_values.py +++ b/pandas/tests/io/parser/test_na_values.py @@ -113,7 +113,6 @@ def test_default_na_values(all_parsers): "-nan", "#N/A N/A", "", - "None", } assert _NA_VALUES == STR_NA_VALUES diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index 836fd43f8a314..7a04a91e71f08 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -178,6 +178,7 @@ def test_dtype_backend(self, string_storage, dtype_backend): "b": Series([1, 2, 3], dtype="Int64"), "c": Series([1.5, np.nan, 2.5], dtype="Float64"), "d": Series([1.5, 2.0, 2.5], dtype="Float64"), + # "e": Series([True, False, None], dtype="boolean"), "e": [True, False, None], "f": [True, False, True], "g": ["a", "b", "c"],