🌈 搜索
📅  最后修改于: 2022-03-11 14:45:16.255000             🧑  作者: Mango
import numpy as np a = ['0.1234', '12345.6789'] a = a.astype(np.float) print(a) # Output : [0.1234, 12345.6789]