使用replace:
temp_dataframe['PPI'].replace('PPI/','',regex=True,inplace=True)或string.replace:
temp_dataframe['PPI'].str.replace('PPI/','')
使用replace:
temp_dataframe['PPI'].replace('PPI/','',regex=True,inplace=True)或string.replace:
temp_dataframe['PPI'].str.replace('PPI/','')