<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_float(self):
 """ Converts to 32-bit data. Returns ------- :obj:`DepthImage` depth image with 32 bit float data """

        return DepthImage(self.data.astype(np.float32), frame=self.frame)