我遇到問題是這樣y should be a ld array, got an
array of shape (376, 3100) instead.
然後EXCEL reshape不用array要怎弄?還是就真的要array才能弄?(以下是我編碼請教怎修改)
(煩請不要再給網址提供意見我需要有人稍微編寫如何用reshape然後不用array)(不然也是可以用array處理)
dataX = pd.read_excel(檔案,
sheet_name = ' X',
header = None)
dataY = pd.read_excel(complete_path,
sheet_name = 'Y',
header = None)
dataZ = pd.read_excel(complete_path,
sheet_name = 'Z',
header = None)
x= pd.concat([dataX, dataY, dataZ], axis=1)
dataTR = pd.read_excel(complete_path,
sheet_name = 'tr',
header = None)
y = dataTR.copy()