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
Adding tests for #27467 surfaced some bugs:
from pandas import * df = DataFrame(dict(a=[0, 0, 0, 1, 1, 1], b=range(6))) g = df.groupby(np.repeat([0,1], 3)) # ok print(g.ngroup()) #fails g.transform('ngroup') AttributeError: ("'Series' object has no attribute 'ngroup'", 'occurred at index a')
The text was updated successfully, but these errors were encountered:
This looks to work on main and looks like we have tests for this so closing
Sorry, something went wrong.
No branches or pull requests
Adding tests for #27467 surfaced some bugs:
The text was updated successfully, but these errors were encountered: