pandas series count each value code example Example: pandas count freq of each value df['column'].value_counts()