how to fix ''Found input variables with inconsistent numbers of samples: [219, 247]''
问题 As title says when running the following code i get a trouble Found input variables with inconsistent numbers of samples: [219, 247], i have read that the problem should be on the np.array set for X and y, but i cannot address the problem because there is a price for every date so i dont get why it is happening, any help will be appreciated thanks! import pandas as pd import quandl, math, datetime import numpy as np from sklearn import preprocessing, svm, model_selection from sklearn.linear