Skip to content

Glossary: pandas Beyond the Basics

pivot

Also written: .pivot()

Reshapes long data to wide by moving values into place without calculating anything, so each row and column pair may appear only once. It fails with a duplicate-entries error on repeated data.

Where the book teaches it

Related terms

Pivot tablemelt