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
xref #21252 (comment)
Add additional test cases for:
Using the same definition of df as you used in your test, columns/values is incorrect:
df
columns
values
In [3]: pd.__version__ Out[3]: '0.23.0' In [4]: df.pivot_table(columns='A', values='B') Out[4]: A NaN low B 2.0 3.0
Similarly index/columns/values is incorrect:
index
In [5]: df['AA'] = df['A'] In [6]: df.pivot_table(index='A', columns='AA', values='B') Out[6]: AA NaN low A NaN 2.0 NaN low NaN 3.0
The text was updated successfully, but these errors were encountered:
@jorisvandenbossche if this issue is still open, I would like to take this one up!
Sorry, something went wrong.
@uds5501 : This is definitely still fair game. Go for it!
Update test_pivot.py
ded4775
TST: add additional test cases for pivot_table with categorical data pandas-dev#21370
Successfully merging a pull request may close this issue.
xref #21252 (comment)
Add additional test cases for:
Using the same definition of
df
as you used in your test,columns
/values
is incorrect:Similarly
index
/columns
/values
is incorrect:The text was updated successfully, but these errors were encountered: