I\'ve been using value_count() to get the counts of unique values in individual rows of dataframe by doing the following: