@@ -225,9 +225,8 @@ NA and Missing Data Handling
225
225
226
226
na_values : scalar, str, list-like, or dict, default ``None ``
227
227
Additional strings to recognize as NA/NaN. If dict passed, specific per-column
228
- NA values. By default the following values are interpreted as NaN:
229
- ``'-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN', '#N/A N/A', '#N/A', 'N/A', 'n/a', 'NA',
230
- '#NA', 'NULL', 'null', 'NaN', '-NaN', 'nan', '-nan', '' ``.
228
+ NA values. By default the following values are interpreted as NaN: See :ref: `na values const
229
+ <io.navaluesconst>` below.
231
230
keep_default_na : boolean, default ``True ``
232
231
If na_values are specified and keep_default_na is ``False `` the default NaN
233
232
values are overridden, otherwise they're appended to.
@@ -1030,8 +1029,11 @@ the corresponding equivalent values will also imply a missing value (in this cas
1030
1029
``[5.0,5] `` are recognized as ``NaN ``.
1031
1030
1032
1031
To completely override the default values that are recognized as missing, specify ``keep_default_na=False ``.
1033
- The default ``NaN `` recognized values are ``['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN', '#N/A','N/A', 'NA',
1034
- '#NA', 'NULL', 'NaN', '-NaN', 'nan', '-nan'] ``. Although a 0-length string
1032
+
1033
+ .. _io.navaluesconst :
1034
+
1035
+ The default ``NaN `` recognized values are ``['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN', '#N/A N/A', '#N/A', 'N/A',
1036
+ 'n/a', 'NA', '#NA', 'NULL', 'null', 'NaN', '-NaN', 'nan', '-nan', ''] ``. Although a 0-length string
1035
1037
``'' `` is not included in the default ``NaN `` values list, it is still treated
1036
1038
as a missing value.
1037
1039
0 commit comments