how to convert list data type to float in python code example Example: python string list to float [float(i) for i in lst]