Skip to content

Glossary: pandas Basics

fillna

Also written: .fillna()

Puts a value into the gaps. A dict lets you choose a different fill per column, as in `{"cost": 0.0}`.

Where the book teaches it

Related terms

dropnaNaN, NaT