Counting What's There: value_counts and unique

value_counts counts how many rows hold each value of a column, most common first, normalize=True turns the counts into shares of the whole, unique lists the different values in a column and nunique counts them.

By

Updated

Cheat sheet: Counting What's There: value_counts and unique
Category
Data Analysis
Level
Apprentice
Tags
Frequency Count, nunique(), python, unique(), value_counts()