Skip to content

Glossary: pandas Basics

map

Also written: .map()

Replaces each value in a column using a dict as a lookup table. Values not in the dict become NaN.

Where the book teaches it

Related terms

apply