Skip to content

Glossary: pandas Beyond the Basics

Margins

Also written: margins=True, margins_name

The total row and column that `pivot_table(margins=True)` adds at the edges of a pivot table. `margins_name=` labels them.

Where the book teaches it

Related terms

Pivot table