Skip to content

Commit 1c6440e

Browse files
committed
DOC: Update docstrings to reflect benefit from resolving #4131
1bd8f57 resolves #4131 without updating docstrings in relevant functions. No way to know that keep_default_na and verbose are valid keyword arguments without inspecting the parsers.py code and documentation
1 parent 5146329 commit 1c6440e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pandas/io/excel.py

+10
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ def read_excel(path_or_buf, sheetname, kind=None, **kwds):
3737
column ranges (e.g. "A:E" or "A,C,E:F")
3838
na_values : list-like, default None
3939
List of additional strings to recognize as NA/NaN
40+
keep_default_na : bool, default True
41+
If na_values are specified and keep_default_na is False the default NaN
42+
values are overridden, otherwise they're appended to
43+
verbose : boolean, default False
44+
Indicate number of NA values placed in non-numeric columns
4045
4146
Returns
4247
-------
@@ -101,6 +106,11 @@ def parse(self, sheetname, header=0, skiprows=None, skip_footer=0,
101106
column ranges (e.g. "A:E" or "A,C,E:F")
102107
na_values : list-like, default None
103108
List of additional strings to recognize as NA/NaN
109+
keep_default_na : bool, default True
110+
If na_values are specified and keep_default_na is False the default NaN
111+
values are overridden, otherwise they're appended to
112+
verbose : boolean, default False
113+
Indicate number of NA values placed in non-numeric columns
104114
105115
Returns
106116
-------

0 commit comments

Comments
 (0)