Suppose I have the following data frame:
0 1 2 new NaN NaN new one one a b c NaN NaN NaN
How would I
A more abstract solution:
df['num_uniq']=df.nunique(axis=1)