ktl014
7/31/2017 - 4:44 PM

When you want to count the frequency of categorical data in a column in pandas dataFrame use: from https://stackoverflow.com/questions/200

When you want to count the frequency of categorical data in a column in pandas dataFrame use:

from https://stackoverflow.com/questions/20076195/what-is-the-most-efficient-way-of-counting-occurrences-in-pandas

  df['Column_Name'].value_counts()