pandas dataframe getting counts of by every column value code example Example: pandas count freq of each value df['column'].value_counts()