Skip to content

Commit c859b73

Browse files
committed
modified: pandas/core/reshape/pivot.py
- Updated docs for `dropna` parameter in :callable:`pivot_table`.
1 parent aaecd93 commit c859b73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/reshape/pivot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ def pivot_table(
102102
on the rows and columns.
103103
dropna : bool, default True
104104
Do not include columns whose entries are all NaN. If True,
105-
rows with a NaN value in any column will be omitted before
106-
computing margins.
105+
- rows with a NaN value in any column will be omitted before computing margins
106+
- index/column keys containing NA values will be dropped (see ``dropna``
107+
parameter in ``pandas.DataFrame.groupby``)
107108
margins_name : str, default 'All'
108109
Name of the row / column that will contain the totals
109110
when margins is True.

0 commit comments

Comments
 (0)