标签: pandas
我希望对一系列应用简单的操作而不会出现以下错误:
SettingWithCopyWarning A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead
代码很简单,看起来像这样
df['distance'] = df['distance']*10