text_plain_output_1.png
from word2number import w2n

import pandas as pd

df = pd.read_csv('../input/car-price-prediction/CarPrice_Assignment.csv', sep=',', encoding='utf-8')

pd.set_option('display.max_columns', None)

df.isna().sum()

from word2number import w2n
df.doornumber = df.doornumber.apply(w2n.word_to_num)
df.cylindernumber = df.cylindernumber.apply(w2n.word_to_num)

(df.doornumber, df.cylindernumber)