The dimensions seem to work out, but it's still complaining (blood pressure building):
x = np.array([1,2,3,4]) y = np.array([5,6,7,8]) m = np.array([9,10]) pointsx = np.concatenate((x,[m[0]]), axis=0) pointsy = np.concatenate((y,[m[1]]), axis=0) points = np.concatenate((pointsx.T,pointsy.T), axis=1)
https://stackoverflow.com/questions/66609605/numpy-concatenate-giving-error-axis-1-is-out-of-bounds-for-array-of-dimension-1 March 13, 2021 at 10:34AM
没有评论:
发表评论