Skip to content

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

Merged
merged 4 commits into from
Aug 3, 2020
Merged

REGR: Check for float in isnaobj_old #35510

merged 4 commits into from
Aug 3, 2020

Conversation

dsaxton
Copy link
Member

@dsaxton dsaxton commented Aug 1, 2020

Looks like we lost an isinstance check that caused this regression.

@dsaxton dsaxton added IO CSV read_csv, to_csv Regression Functionality that used to work in a prior pandas version labels Aug 1, 2020
@simonjayhawkins simonjayhawkins added this to the 1.1.1 milestone Aug 2, 2020
Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dsaxton lgtm

@@ -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`).
Copy link
Contributor

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
Copy link
Contributor

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)

Copy link
Member Author

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kk

@jreback jreback merged commit b68b604 into pandas-dev:master Aug 3, 2020
@jreback
Copy link
Contributor

jreback commented Aug 3, 2020

thanks @dsaxton

@jreback
Copy link
Contributor

jreback commented Aug 3, 2020

backport to 1.1.x

@jreback
Copy link
Contributor

jreback commented Aug 3, 2020

@simonjayhawkins hmm these don't seem to be triggering a backport action. any idea?

@dsaxton dsaxton deleted the use_inf_as_na-read_csv branch August 4, 2020 00:11
@simonjayhawkins
Copy link
Member

@simonjayhawkins hmm these don't seem to be triggering a backport action. any idea?

it worked on #35452 but not from #35272

@simonjayhawkins
Copy link
Member

@meeseeksdev backport to 1.1.x

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Aug 4, 2020
simonjayhawkins pushed a commit that referenced this pull request Aug 4, 2020
Co-authored-by: Daniel Saxton <2658661+dsaxton@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO CSV read_csv, to_csv Regression Functionality that used to work in a prior pandas version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: use_inf_as_na options raises value error for read_csv
5 participants