df['price_edited'] = df['price'].apply(lambda a: int(a[1:]) if a.startswith('$') else 0)