Jumlah Nilai Frekuensi di DataFrame Pandas
df['column_name'].value_counts()
df.groupby(['column_name']).count()
#Each returns the results in a pandas Series.
Kwams
df['column_name'].value_counts()
df.groupby(['column_name']).count()
#Each returns the results in a pandas Series.