From d5a52cae2c821c266aad2a2ca84b7a90ac6fd2d0 Mon Sep 17 00:00:00 2001 From: Oleg Shteynbuk Date: Fri, 9 Jun 2017 16:19:14 -0400 Subject: [PATCH] improved text related to na values in io.rst file --- doc/source/io.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/source/io.rst b/doc/source/io.rst index ef85ec0119919..69377fad15270 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -225,8 +225,9 @@ NA and Missing Data Handling na_values : scalar, str, list-like, or dict, default ``None`` Additional strings to recognize as NA/NaN. If dict passed, specific per-column - NA values. By default the following values are interpreted as NaN: See :ref:`na values const - ` below. + NA values. See :ref:`na values const ` below + for a list of the values interpreted as NaN by default. + keep_default_na : boolean, default ``True`` If na_values are specified and keep_default_na is ``False`` the default NaN values are overridden, otherwise they're appended to. @@ -1033,9 +1034,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', '']``. Although a 0-length string -``''`` is not included in the default ``NaN`` values list, it is still treated -as a missing value. +'n/a', 'NA', '#NA', 'NULL', 'null', 'NaN', '-NaN', 'nan', '-nan', '']``. .. code-block:: python