Skip to content

Glossary: pandas Basics

axis

Also written: axis=1, axis=0

An argument saying which direction to work in. `axis=1` means across the columns, giving one answer per row, while the default `axis=0` gives one per column.

Where the book teaches it

Related terms

isna