We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e19bf3c commit fb7478fCopy full SHA for fb7478f
pandas/core/frame.py
@@ -9347,8 +9347,10 @@ def pivot(
9347
on the rows and columns.
9348
dropna : bool, default True
9349
Do not include columns whose entries are all NaN. If True,
9350
- rows with a NaN value in any column will be omitted before
9351
- computing margins.
+ - rows with a NA value in any column will be omitted before computing
+ margins,
9352
+ - index/column keys containing NA values will be dropped (see ``dropna``
9353
+ parameter in :method:``DataFrame.groupby``).
9354
margins_name : str, default 'All'
9355
Name of the row / column that will contain the totals
9356
when margins is True.
0 commit comments