Skip to content

Commit

Permalink
improved text related to na values in io.rst file
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegShteynbuk committed Jun 12, 2017
1 parent a013cc2 commit d5a52ca
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doc/source/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
<io.navaluesconst>` below.
NA values. See :ref:`na values const <io.navaluesconst>` 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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d5a52ca

Please sign in to comment.