-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Updating generic.py error message #8618 - New branch #8950
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
@springcoil That are not the errors that I see on travis. These tests are failing:
|
The tests pass :) Can we merge now? |
|
||
def k(): | ||
frame.groupby(by=None, level=None) | ||
self.assertRaisesRegexp(TypeError, "You have to supply one of 'by' and 'level'") |
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.
You removed the k
function in the assert, so this is not testing the groupby anymore
Ok second attempt :) |
ge = DataFrame().groupby() | ||
se = Series().groupby() | ||
ge = DataFrame().groupby(level=0) | ||
se = Series().groupby(level=0) |
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.
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.
I agree empty just raise (as it is tested above)
@springcoil Could you squash? You can do this with:
and then change 'pick' into 'fixup' apart for the first commit. |
Hi @jorisvandenbossche thanks for the squash reminder. I Squashed it and commited the new code. |
merged via 2ed182e thanks! I know it was an experience, but the first PR is always the hardest. |
Thanks :) |
closes #8015
I deleted the previous branch that was causing problems and submitted this.
This is my first attempt at a PR. I just made a little change to allow an error message. Would appreciate some feedback.
@jreback @jorisvandenbossche @hayd