numebr of unique in pandas column code example Example: pandas count unique values in column df.nunique()