I have a pandas dataframe that has an int64 column which has values either 0 or 1. And another object column that has different strings.
dataframe screenshot:
I want to plot a graph (preferably bar or pie) that will show how many values are equal to 1, and how many are equal to 0 in that int64 column. Also I would like to legend them as 1 - Democrats, 0 - Republicans.