In pandas, how to get average of several column values for each row in data frame while accounting for missing data/varying number of columns?
Row-wise average for a subset of columns with missing values