Skip to content

Glossary: pandas Basics

value_counts

Also written: .value_counts(), normalize

Counts how many times each value appears in a column, most common first. `normalize=True` gives proportions instead.

Where the book teaches it

Related terms

groupbynunique