Skip to content

Commit 0f7a376

Browse files
committed
Move pivot paragraph to pivot table section
1 parent a82e2f6 commit 0f7a376

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/source/reshaping.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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
9191
are 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

10095
Reshaping 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+
331330
The function ``pandas.pivot_table`` can be used to create spreadsheet-style pivot
332331
tables. See the :ref:`cookbook<cookbook.pivot>` for some advanced strategies
333332

0 commit comments

Comments
 (0)