pandas: counting unique values in a dataframe,"d.apply(pd.Series.value_counts, axis=1).fillna(0)"