Skip to content

Conversation

@KenilMehta
Copy link
Contributor

raise ValueError("'result_is_index' and 'aggregate' cannot both be True!")
if post_processing:
if not callable(pre_processing):
if not callable(post_processing):
Copy link
Contributor

Choose a reason for hiding this comment

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

do we have a test that actually hits this?

Copy link
Member

Choose a reason for hiding this comment

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

#34372 changes the path for GroupBy.std so that this is hit by std tests.

@jreback jreback added Groupby Compat pandas objects compatability with Numpy or Python functions labels May 5, 2020
@jreback
Copy link
Contributor

jreback commented Jun 14, 2020

closing in favor of #34372

@jreback jreback closed this Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compat pandas objects compatability with Numpy or Python functions Groupby

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Not properly checking if post_processing function is callable or not in _get_cythonized_result() function in class GroupBy

3 participants