SyntaxFix
Write A Post
Hire A Developer
Questions
If I assume data is the name of your dataframe, you can do :
data['race'].value_counts()
this will show you the distinct element and their number of occurence.