在NumPy中,如果要将一个列表转换为数组,应该使用哪个函数?


在NumPy中,如果要将一个列表转换为数组,应该使用哪个函数?

A、np.array()

B、np.list()

C、np.convert()

D、np.tolist()

正确答案:np.array()


Tag:数组 函数 列表 时间:2024-04-18 22:54:38