why delete the column model in dataframe
in the dataframe in first video in project , what drop the model column
1 answers ( 0 marked as helpful)
Hi Mohamed!
Thanks for reaching out!
The DataFrame contains a large number of unique models (312) in the Model
column, which presents a challenge for regression analysis due to the high dimensionality associated with creating dummy variables for each unique model. However, much of the information captured in the "Model" column can be derived from the Brand
, Year
, and EngineV
columns. Therefore, dropping the Model
column would simplify the regression construction process.
Hope this helps.
Best,
Ivan