iris_target = iris_target.reshape(len(iris_target),1) #将一维数组转为二维数组 iris_t = iris_t.reshape(len(iris_t),1) iris_joint = np.concatenate((iris_feature,iris_f),axis=0) #axis=0沿着纵轴拼接,axis=1沿着横轴拼接 iris_joint2 = np.concatenate((iris_target,iris_t),axis=0) 1....