@@ -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.
@@ -1020,8 +1019,11 @@ the corresponding equivalent values will also imply a missing value (in this cas
1020
1019
``[5.0,5] `` are recognized as ``NaN ``.
1021
1020
1022
1021
To completely override the default values that are recognized as missing, specify ``keep_default_na=False ``.
1023
- The default ``NaN `` recognized values are ``['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN', '#N/A','N/A', 'NA',
1024
- '#NA', 'NULL', 'NaN', '-NaN', 'nan', '-nan'] ``. Although a 0-length string
1022
+
1023
+ .. _io.navaluesconst :
1024
+
1025
+ The default ``NaN `` recognized values are ``['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN', '#N/A N/A', '#N/A', 'N/A',
1026
+ 'n/a', 'NA', '#NA', 'NULL', 'null', 'NaN', '-NaN', 'nan', '-nan', ''] ``. Although a 0-length string
1025
1027
``'' `` is not included in the default ``NaN `` values list, it is still treated
1026
1028
as a missing value.
1027
1029
0 commit comments