使用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/','')
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)