If I want to take the mean of all my columns:
col = [\'id\', \'A\', \'B\', \'C\']
I can do:
df[col].mean(axis=1, skipna=True)