**
import numpy as np
C=np.random.randint(0,10,size=10)
print©
小插曲:返回一个范围内随机值
可能值 1,2,3,4,5
import numpy as np
D=np.random.random_integers(5)
print(D)
**
方法四: np.random.shuffle(x) #shuffle打乱
**
import numpy as np
E = np.arange(10) #生成列表[1,2,3,4,5,6,7,8,9]
print(E)
np.random.shuffle(E)
print(E)
**
方法五:
**
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。