🌈 搜索
📅  最后修改于: 2022-03-11 14:47:06.553000             🧑  作者: Mango
list_of_my_columns = ['Col A', 'Col E', 'Col Z'] df['Sum'] = df[list_of_my_columns].sum(axis=1)