<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _convert_to_floats(self, data):
 """ Convert all values in a dict to floats """

        for key, value in data.items():
            data[key] = float(value)

        return data