I have following dataframe in pandas
C1 C2 C3
10 a b
10 a b
? c c
? ? b
10 a b
10 ? ?
I want to count the occurrences of ?
in all the columns
My desired output is column wise sum of occurrences