从大小为5的np.arange()生成均匀的随机样本。 import numpy as np data = np.random.choice(22, 5) print(data). 输出 [13 6 21 19 11].
確定! 回上一頁