Skip to content
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: Add tests for fixed issues #30444

Merged
merged 5 commits into from
Dec 26, 2019
Merged

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke commented Dec 24, 2019

@pep8speaks
Copy link

pep8speaks commented Dec 24, 2019

Hello @mroeschke! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-12-24 22:18:54 UTC

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Dec 24, 2019
@jbrockmendel
Copy link
Member

looks like a int32 vs int64 issue?

@mroeschke
Copy link
Member Author

@jbrockmendel looks like that was the issue. All green

# GH 6485
result = DataFrame({"a": range(10)}, dtype="i4")
result.loc[10] = 99
expected = DataFrame({"a": list(range(10)) + [99]})
Copy link
Member

Choose a reason for hiding this comment

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

can you specify the expected dtype here? im actually not clear on why this is "fixed". casting to int64 is better than casting to float64 like it did in the OP in #6485, but dont we want the dtype to stay int32?

Also, there is mention in that issue of an empty case that is still broken. should that issue stay open or new issue for the still-broken case?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. Ideally we should maintain int32 here. I guess that issue is not totally solved and it leave it open for both cases

@jbrockmendel
Copy link
Member

the other 3 LGTM

@jreback jreback added this to the 1.0 milestone Dec 26, 2019
@jreback jreback merged commit 114d552 into pandas-dev:master Dec 26, 2019
@jreback
Copy link
Contributor

jreback commented Dec 26, 2019

thanks @mroeschke

@mroeschke mroeschke deleted the regression_testing branch December 26, 2019 05:58
AlexKirko pushed a commit to AlexKirko/pandas that referenced this pull request Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
4 participants