If an ndarray, a random sample is generated from its elements. If an int, the random sample is generated as if a was np.arange(n).
確定! 回上一頁