PANDAS Kolom baru rata -rata kolom lainnya

col = df.loc[: , "salary_1":"salary_3"]
df['salary_mean'] = col.mean(axis=1)
Sleepy Shark