应用循环更改列名称并通过python拆分文本

Input File:input image

import pandas as pd
df = pd.read_excel("C:/Users/Desktop/Replace.xlsx",header=None)
df.shape[1]
df['Ind 1'] = df['Col 1'].str[1:]
df['Ind 2'] = df['Col 2'].str[1:]
df['Ind 3'] = df['Col 3'].str[1:]
df.to_excel("C:/Users/Desktop/Replace.xlsx", index=False)

Required Output :Output Image

我从上面的代码中获得此输出。但是,我需要执行此任务的循环(分配新的列名和对列值的某些切片操作)。这样每当列数值改变时。它会自动处理并提供所需的输出,如上所述。