Untitled
exchange two columnsunknown
python
a year ago
229 B
2
Indexable
Never
#define _DEBUG_ col_list = list(group.columns) print(col_list) a, b = col_list.index('work_year'), col_list.index('experience_level') col_list[b], col_list[a] = col_list[a], col_list[b] group = group[col_list] group