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

segmentation fault on groupby with categorical grouper of mismatched len #3017

Merged
2 commits merged into from Mar 16, 2013
Merged

segmentation fault on groupby with categorical grouper of mismatched len #3017

2 commits merged into from Mar 16, 2013

Conversation

ghost
Copy link

@ghost ghost commented Mar 12, 2013

closes #3011


#len(bins) != len(series)
try:
series.groupby(bins).mean()
Copy link
Member

Choose a reason for hiding this comment

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

self.assertRaises(AssertionError, ...) ?

Copy link
Author

Choose a reason for hiding this comment

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

I've had issues with assertRaises not catching assertions for whatever
reason, so I usually avoid it.

@ghost
Copy link
Author

ghost commented Mar 15, 2013

dupe #3031

@ghost ghost closed this Mar 15, 2013
@ghost ghost reopened this Mar 16, 2013
ghost pushed a commit that referenced this pull request Mar 16, 2013
segmentation fault on groupby with categorical grouper of mismatched len
@ghost ghost merged commit 6e7b37b into pandas-dev:master Mar 16, 2013
@ghost
Copy link
Author

ghost commented Mar 16, 2013

Not caught at lower level by #3031. masked by exception logic.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

segmentation fault on groupby
1 participant