Skip to content

Conversation

Mariihmp
Copy link
Contributor

Comment on lines 1092 to 1097
{'a': [1, 2],
'b': [3, 4],
'c': [5, 6],
'd': [7, 8]}
)
check(assert_type(df.pivot_table(values='a', index='b', columns='c', sort=True),
Copy link
Collaborator

Choose a reason for hiding this comment

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

You need to use double quotes here.

Be sure to follow the instructions at https://github.com/pandas-dev/pandas-stubs/blob/main/docs/setup.md to set up your environment. And run tests as shown here: https://github.com/pandas-dev/pandas-stubs/blob/main/docs/tests.md

Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

Thanks @Mariihmp

@Dr-Irv Dr-Irv merged commit f8ffb46 into pandas-dev:main Dec 26, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing parameter for the sort argument of the pandas.DataFrame.pivot_table method
2 participants