1.housing_dr=pd.DataFrame(x,columns=housing_num.columns)
Q.what is the meaning of columns=housing_num.columns
2.housing_cat_encoded,housing_categories=housing_cat.factorize()
housing_cat_encoded[:10]
Q. why we are writing housing_categories not only housing_cat_encoded