-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
REGR: Check for float in isnaobj_old #35510
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
Conversation
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.
Thanks @dsaxton lgtm
doc/source/whatsnew/v1.1.1.rst
Outdated
@@ -15,7 +15,7 @@ including other versions of pandas. | |||
Fixed regressions | |||
~~~~~~~~~~~~~~~~~ | |||
|
|||
- | |||
- Fixed regression where :func:`read_csv` would raise a ``ValueError`` when ``use_inf_as_na`` was set to ``True`` (:issue:`35493`). |
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.
write out the path to the option
|
||
|
||
def test_read_csv_with_use_inf_as_na(all_parsers): | ||
# https://github.com/pandas-dev/pandas/issues/35493 |
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.
see if u can locate this test near others that set options (not 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.
The others that use options seem to be in more targeted testing files (test_to_html.py, test_printing.py); this is the only one in this file
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.
kk
thanks @dsaxton |
backport to 1.1.x |
@simonjayhawkins hmm these don't seem to be triggering a backport action. any idea? |
|
@meeseeksdev backport to 1.1.x |
Co-authored-by: Daniel Saxton <2658661+dsaxton@users.noreply.github.com>
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Looks like we lost an isinstance check that caused this regression.