how to change elements of array into float code example Example: python string list to float [float(i) for i in lst]