use count() to get values of df columns in python code example Example: pandas get count of column df['column_name'].value_counts()