File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -90,11 +90,6 @@ You of course can then select subsets from the pivoted DataFrame:
9090 Note that this returns a view on the underlying data in the case where the data
9191are homogeneously-typed.
9292
93- While ``pivot `` provides general purpose pivoting of DataFrames with various
94- data types (strings, numerics, etc.), Pandas also provides the ``pivot_table ``
95- function for pivoting with aggregation of numeric data (see the
96- section on :ref: `pivot tables<reshaping.pivot> `).
97-
9893.. _reshaping.stacking :
9994
10095Reshaping by stacking and unstacking
@@ -328,6 +323,10 @@ Pivot tables
328323
329324.. _reshaping.pivot :
330325
326+ While ``pivot `` provides general purpose pivoting of DataFrames with various
327+ data types (strings, numerics, etc.), Pandas also provides the ``pivot_table ``
328+ function for pivoting with aggregation of numeric data.
329+
331330The function ``pandas.pivot_table `` can be used to create spreadsheet-style pivot
332331tables. See the :ref: `cookbook<cookbook.pivot> ` for some advanced strategies
333332
You can’t perform that action at this time.
0 commit comments