String -Array zum Schweben Sie Array Python
import numpy as np
x = np.array(['1.1', '2.2', '3.3'])
y = x.astype(np.float)
print(y) # Output : [1.1, 2.2, 3.3]
Im_Arxus
import numpy as np
x = np.array(['1.1', '2.2', '3.3'])
y = x.astype(np.float)
print(y) # Output : [1.1, 2.2, 3.3]
import numpy as np
x = np.array(['1.1', '2.2', '3.3'])
y = x.astype(np.float)