Pandas Nuevas columnas promedio de otras columnas
col = df.loc[: , "salary_1":"salary_3"]
df['salary_mean'] = col.mean(axis=1)
Sleepy Shark
col = df.loc[: , "salary_1":"salary_3"]
df['salary_mean'] = col.mean(axis=1)