Python, Machine Learning, Statistics, Data Science, Technology.
#print("shape of new_vehicle_df_dependent_attr::",y.shape) X = newdf.iloc[:,0:18].values y = newdf.iloc[:,18].values X Output: array([[ 95., 48., 83., ..., 16., 187., 197.], [ 91., 41., 84., ..., 14., 189., 199.], [104., 50., 106., ..., 9., 188., 196.], ..., [106., 54., 101., ..., 4., 187., 201.],