text_html_output_1.png
train = pd.read_csv('../input/car-price/train set.csv')

names = [x.split(' ')[0] for x in list(train['name'])]

train.insert(0, 'brand', names)

train = train.drop(['name', 'seller_type', 'owner', 'torque', 'fuel'], axis=1)

train.head(2)