Another solution is to append the arrays in the function you have defined, instead of returning np.array(dataX) , use - return np.append(x, ...
確定! 回上一頁