-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: raising ValueError when inserting one dataframe in another #42831
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
debnathshoham
commented
Jul 31, 2021
- closes BUG: DafaFrame.insert doesn't raise an exception when inserting another DataFrame #42403
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
@@ -89,3 +89,10 @@ def test_insert_item_cache(self, using_array_manager): | |||
ser.values[0] = 99 | |||
|
|||
assert df.iloc[0, 0] == df[0][0] | |||
|
|||
def test_insert_frame(self): |
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.
Your test is broken
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.
Very confused. I am getting a seperate error message on my local.
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 ci error is correct, you will have to debug locally why it is not raised for you
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.
changed the error msg, but this is also failing. Would need some help, how same error raises multiple error msgs
Hello @debnathshoham! 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 2021-08-04 17:14:31 UTC |
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.
lgtm. @phofl over to you
Thanks @debnathshoham |
…as-dev#42831) * TST: raising ValueError when inserting one dataframe in another * added GH issue reference * rev msg * included both msgs * updated * Update test_insert.py * Update test_insert.py * Update test_insert.py