We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In version 0.11.0
A = DataFrame([[1,1],[2,1]],columns=['X','Y']).groupby('X').count()
returns a DataFrame, when there are 2+ grouping levels...
but,
B = DataFrame([[1,1],[1,1]],columns=['X','Y']).groupby('X').count()
returns a Series, when there is only 1 grouping level.
In version 0.10.0, B would also be a DataFrame.
Don't know if this was by design, but it seems awkward to check the type before using B downstream.
The text was updated successfully, but these errors were encountered:
#2893 changed this
maybe we should add a keyword to make this optional instead of sometimes changing the arity
Sorry, something went wrong.
@wesm ?
closeed by #3599
No branches or pull requests
In version 0.11.0
returns a DataFrame, when there are 2+ grouping levels...
but,
returns a Series, when there is only 1 grouping level.
In version 0.10.0, B would also be a DataFrame.
Don't know if this was by design, but it seems awkward to check the type before using B downstream.
The text was updated successfully, but these errors were encountered: