Skip to content

Commit bc66c1a

Browse files
committed
modified: pandas/core/frame.py
- Updated _shared_docs["pivot_table"] to match docstring in pandas/core/reshape/pivot.py. modified: pandas/core/reshape/pivot.py - Updated `dropna` param docstring in `pivot_table` so the dashes convert to a bulleted list.
1 parent 0edffc2 commit bc66c1a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9347,9 +9347,9 @@ def pivot(
93479347
on the rows and columns.
93489348
dropna : bool, default True
93499349
Do not include columns whose entries are all NaN. If True,
9350-
- rows with a NA value in any column will be omitted before computing
9350+
- rows with a NA value in any column will be omitted before computing
93519351
margins,
9352-
- index/column keys containing NA values will be dropped (see ``dropna``
9352+
- index/column keys containing NA values will be dropped (see ``dropna``
93539353
parameter in :meth:``DataFrame.groupby``).
93549354
margins_name : str, default 'All'
93559355
Name of the row / column that will contain the totals

pandas/core/reshape/pivot.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ 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 NA value in any column will be omitted before computing margins,
106-
- index/column keys containing NA values will be dropped (see ``dropna``
105+
- rows with a NA value in any column will be omitted before computing margins,
106+
- index/column keys containing NA values will be dropped (see ``dropna``
107107
parameter in :meth:``DataFrame.groupby``).
108108
margins_name : str, default 'All'
109109
Name of the row / column that will contain the totals

0 commit comments

Comments
 (0)