Skip to content

Commit 5327fe8

Browse files
committed
moving edits to pivot_table
1 parent 13e859f commit 5327fe8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8564,7 +8564,8 @@ def pivot(self, index=None, columns=None, values=None) -> DataFrame:
85648564
margins : bool, default False
85658565
Add all row / columns (e.g. for subtotal / grand totals).
85668566
dropna : bool, default True
8567-
Do not include columns whose entries are all NaN.
8567+
Do not include columns whose entries are all NaN. If true:
8568+
exclude rows containing missing data from aggregated margins
85688569
margins_name : str, default 'All'
85698570
Name of the row / column that will contain the totals
85708571
when margins is True.

0 commit comments

Comments
 (0)