Skip to content

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