-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: Document and test na_filter in read_excel #29171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TST: Document and test na_filter in read_excel #29171
Conversation
57af01a
to
5ba0374
Compare
5ba0374
to
435f73f
Compare
|
||
with pd.ExcelFile("test5" + read_ext) as excel: | ||
parsed = pd.read_excel( | ||
excel, "Sheet1", keep_default_na=True, na_values=["apple"], **kwargs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Do we already have coverage for the keep_default_na=False
case documented above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which case are you talking about? The documentation mentions multiple keep_default_na=False
cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right was asking if we already have coverage on keep_default_na=False
since mentioned in docs, but only True here (in contrast to na_filter
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test above the one I've added has coverage for keep_default_na=False
.
Thanks @gfyoung |
Closes #25453
Picks up where #26353 left off