📜  将元组转换为数组 python 代码示例

📅  最后修改于: 2022-03-11 14:45:53.597000             🧑  作者: Mango

代码示例1
import numpy 

my_tuple = ([8, 4, 6], [1, 2, 3])
print("Tuple to array: ")
print(numpy.asarray(my_tuple))