-
-
Notifications
You must be signed in to change notification settings - Fork 143
fixed pivot_table sort argument in pandas_stubs #1077
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
Conversation
tests/test_frame.py
Outdated
{'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), |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Mariihmp
Missing parameter for the sort argument of the pandas.DataFrame.pivot_table method added and implemented tests