Skip to content

segfault in DataFrame.apply with duplicate column names and multiple aggfuncs #21063

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

Closed
TomAugspurger opened this issue May 15, 2018 · 0 comments · Fixed by #21066
Closed

segfault in DataFrame.apply with duplicate column names and multiple aggfuncs #21063

TomAugspurger opened this issue May 15, 2018 · 0 comments · Fixed by #21066
Labels
Apply Apply, Aggregate, Transform, Map
Milestone

Comments

@TomAugspurger
Copy link
Contributor

In [1]: import pandas as pd

In [2]: df = pd.DataFrame([['a', 'b'], ['c', 'd']], columns=['a', 'a'])

In [3]: df.agg(['min'])
Fatal Python error: Cannot recover from stack overflow.

This was present at least in 0.22.0. Haven't looked further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apply Apply, Aggregate, Transform, Map
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant