I have a Pandas DataFrame with n columns , don't know how many columns will be there.
df = index task_1 task_2 ......
0 dummy_1 dummy_2 ....
1 dum_1 dum_2 ...
I want to change the names of the column from task_1 to Label_1 and so on.The out put needs to be
df = index Label_1 Label_2 ......
0 dummy_1 dummy_2 ....
1 dum_1 dum_2 ...