Converta a matriz de cordas 2D para flutuar Python
import numpy as np
a = ['0.1234', '12345.6789']
a = a.astype(np.float)
print(a)
# Output : [0.1234, 12345.6789]
Im_Arxus
import numpy as np
a = ['0.1234', '12345.6789']
a = a.astype(np.float)
print(a)
# Output : [0.1234, 12345.6789]