text_plain_output_2.png text_plain_output_1.png image_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

data = pd.read_csv('../input/mobile-phone-rating/mobile phone rating by dxo.csv', parse_dates=True)

data.shape

data.dtypes

data['price'] = data['price'].apply(lambda x: str(x).replace('$', '') if '$' in str(x) else str(x))
data['price'] = data['price'].apply(lambda x: float(x))

data.isnull().sum()