I have a data frame which contains a column with Names, and then columns containing either the value Yes, No or NaN next to these names. What steps would I take to count the amount of times Yes, No or NaN appears beside each name across each column? To give you a better example of what I mean:
col1 col2 col3 col4
Bob yes yes no
Tim no no yes
Susan yes Nan yes
Thanks!