here is my code to add additional column into x_vals, but i keep getting this error:
x_vals = np.array([x[0:4] for x in iris.data])
np.concatenate([x_vals, np.array([x[0] for x in iris.data])],1)
ValueError: all the input arrays must have same number of dimensions
can anyone help me ?