If you want to get the count of a value in a column, use value_counts. However, if you want to get the percentage of a value in a column, add normalize=True to value_counts.
value_counts
normalize=True
Link to the previous tips on pandas.
Link to Google Colab of this tip.