Wymień ciąg na wartość nan
data['horsepower'].replace(to_replace='?' , value = np.nan,inplace = True)
data['horsepower'].unique()
Helpful Hare
data['horsepower'].replace(to_replace='?' , value = np.nan,inplace = True)
data['horsepower'].unique()