File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ They can take a number of arguments:
115
115
as the index.
116
116
- ``names ``: List of column names to use as column names. To replace header
117
117
existing in file, explicitly pass ``header=0 ``.
118
- - ``na_values ``: optional list of strings to recognize as NaN (missing
118
+ - ``na_values ``: optional string or list of strings to recognize as NaN (missing
119
119
values), either in addition to or in lieu of the default set.
120
120
- ``true_values ``: list of strings to recognize as ``True ``
121
121
- ``false_values ``: list of strings to recognize as ``False ``
@@ -723,7 +723,8 @@ NA Values
723
723
~~~~~~~~~
724
724
725
725
To control which values are parsed as missing values (which are signified by ``NaN ``), specifiy a
726
- list of strings in ``na_values ``. If you specify a number (a ``float ``, like ``5.0 `` or an ``integer `` like ``5 ``),
726
+ string in ``na_values ``. If you specify a list of strings, then all values in
727
+ it are considered to be missing values. If you specify a number (a ``float ``, like ``5.0 `` or an ``integer `` like ``5 ``),
727
728
the corresponding equivalent values will also imply a missing value (in this case effectively
728
729
``[5.0,5] `` are recognized as ``NaN ``.
729
730
You can’t perform that action at this time.
0 commit comments