If an ndarray, a random sample is generated from its elements. ... np.random.choice(5, 3) array([0, 3, 4]) >>> #This is equivalent to np.random.randint(0,5 ...
確定! 回上一頁