I am trying to create a new column in df that contains a small description that says for each row these many columns are Nan.This is mainly for error logging purpose. I want to use the numpy.where condition to do that, but i don't want to specify the column names. if there a simple way to do that?
I did try using the np.where condition to do it but i am new to panda so i am getting errors.