x = dummiesfinal.iloc[9] y = dummiesfinal.iloc[0:8,10:47] x = np.array(x).T.reshape(-1,1) y = np.array(y) np.shape(x) (48, 1) np.shape(y) (8, 37) plt from sklearn.mo