How to convert pandas dataframe so that index is the unique set of values and data is the count of each value?,df['Qu1'].value_counts()