My program keeps reading the input file as a string, even though it all values are floats.
pd.read_csv('input.txt', sep=' ', dtype=np.float32)
Also, my array contains multiple dots in the float values for some reason, even though the format is fine in my text
input.txt content:
-0.90051 -0.90051 -1.071287 -1.098813 -1.023997 -0.90051 -1.187293
result of pd.read_csv('input.txt', sep=' ', dtype=np.float32)
-0.90051, -0.90051.1, -1.071287, -1.098813, -1.023997, -0.90051.2 -1.187293,