为了实现数据重复,可使用tile()函数和repeat()函数。 ... coding: UTF-8 -*- import numpy as np #创建数组arr arr = np.array([3,7,5,6,8,9,7,2,6,2,5,9,10]) ...
確定! 回上一頁