Skip to content

Glossary: pandas Beyond the Basics

fill_value

Also written: fill_value=0

An argument that puts a chosen value, usually 0, in cells with no data in `pivot_table` or `unstack`. Use it only when an empty cell truly means zero.

Where the book teaches it

Related terms

Pivot tableunstack