File tree 1 file changed +4
-5
lines changed
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:
90
90
Note that this returns a view on the underlying data in the case where the data
91
91
are homogeneously-typed.
92
92
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
-
98
93
.. _reshaping.stacking :
99
94
100
95
Reshaping by stacking and unstacking
@@ -328,6 +323,10 @@ Pivot tables
328
323
329
324
.. _reshaping.pivot :
330
325
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
+
331
330
The function ``pandas.pivot_table `` can be used to create spreadsheet-style pivot
332
331
tables. See the :ref: `cookbook<cookbook.pivot> ` for some advanced strategies
333
332
You can’t perform that action at this time.
0 commit comments