I have the data frame that looks like this:
Date Visa Mastercard Amex Paypal
1/1/20 0 20 0 0
2/1/20 15 0 0 0
3/1/20 30 0 0 0
4/1/20 0 15 0 0
5/1/20 0 0 50 0
I will like to count the number of times Visa, MasterCard, AMEX, and PayPal appeared, which is 2 times for visa and Mastercard, 1x for AMEX, and 0 for Paypal. And then I will like to plot it.
Is there any way to go about dealing with this? I do have the rough idea based on using df.info()
Any help is appreciated
Select the correct answer from above options