Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个随机的数字列表,没有重复。长度基于我的坐标列表的长度。即对于 10 xyz 坐标我想要一个如下列表 64231597810
b = 0 n = len(in_cloud) c_list = np.arange(b,n)
你是这样做的吗?
我想你想要numpy.random.permutation:
numpy.random.permutation(10)
或者
numpy.random.permutation(len(in_cloud))