numpy repeat 和 tile Posted on 2018-07-Mon Views: Views: 12345np.repeat([1,2], 4)array([1, 1, 1, 1, 2, 2, 2, 2])np.tile([1,2], 4)array([1, 2, 1, 2, 1, 2, 1, 2])