Skip to content

Glossary: pandas Beyond the Basics

Code

Also written: category code, .cat.codes, codes

The small whole number pandas stores in place of each value in a category column. `.cat.codes` shows these numbers.

Where the book teaches it

Related terms

Category dtype