Skip to content

Commit a8104e9

Browse files
Thoralf Gutierrezjorisvandenbossche
Thoralf Gutierrez
authored andcommitted
DOC: fix listing na_values in read_csv docstring - add subsequent_indent to wrapped text (#15173)
1 parent 2fa33fb commit a8104e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/parsers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@
148148
na_values : scalar, str, list-like, or dict, default None
149149
Additional strings to recognize as NA/NaN. If dict passed, specific
150150
per-column NA values. By default the following values are interpreted as
151-
NaN: '""" + fill("', '".join(sorted(_NA_VALUES)), 70) + """'`.
151+
NaN: '""" + fill("', '".join(sorted(_NA_VALUES)),
152+
70, subsequent_indent=" ") + """'`.
152153
keep_default_na : bool, default True
153154
If na_values are specified and keep_default_na is False the default NaN
154155
values are overridden, otherwise they're appended to.

0 commit comments

Comments
 (0)