Skip to content
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

DEPR: Default of observed=False in DataFrame.pivot_table #56237

Merged
merged 6 commits into from
Dec 4, 2023

Conversation

rhshadrach
Copy link
Member

@rhshadrach rhshadrach added Reshaping Concat, Merge/Join, Stack/Unstack, Explode Categorical Categorical Data Type Deprecate Functionality to remove in pandas labels Nov 29, 2023
@rhshadrach rhshadrach added this to the 2.2 milestone Nov 29, 2023
@@ -278,6 +278,7 @@ To show only observed values:
For pivoting operations, this behavior is *already* controlled by the ``dropna`` keyword:

.. ipython:: python
:okwarning:
Copy link
Member

Choose a reason for hiding this comment

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

Could you turn these into code-blocks?

Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

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

One comment otherwise looks good

@mroeschke mroeschke merged commit 4fd5a15 into pandas-dev:main Dec 4, 2023
44 checks passed
@mroeschke
Copy link
Member

Thanks @rhshadrach

@rhshadrach rhshadrach deleted the depr_pivot_observed_default branch December 4, 2023 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Categorical Categorical Data Type Deprecate Functionality to remove in pandas Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DEPR: observed=False default for DataFrame.pivot_table
2 participants