Machine Learning, Data Science Projects, Data Science, Machine Learning Projects, Data Analysis.
train.columns: if train[i].dtype == object: cat_columns.append(i) else: num_columns.append(i) cat_columns """ OUTPUT: ['Item_Identifier', 'Item_Fat_Content', 'Item_Type', 'Outlet_Identifier', 'Outlet_Size', 'Outlet_Location_Type', 'Outlet_Type'] """ num_columns """ OUTPUT: ['Item_Weight',