如何转换:
x = [(65535, 9976, 65535, 5690, 6.8501953124999995), (65535, 8779, 65312, 5045, 21.178124999999998)]
到 numpy 数组?
最佳答案
你试过吗?
np.asarray(x)
关于python - 将元组列表转换为 numpy 数组,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27561896/