I want to multiply certain columns based on value of another column.
merged.loc[merged.check.str.contains('1'), 'price'] = merged['price']*100000.0
merged.head()
But I am getting this error.
ValueError: cannot reindex from a duplicate axis