<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_hdf5(self, filepath: str):
 """Write the main dataframe to Hdf5 file :param filepath: path where to save the file :type filepath: str :example: ``ds.to_hdf5_("./myfile.hdf5")`` """

        try:
            self.start("Saving data to Hdf5...")
            dd.io.save(filepath, self.df)
            self.end("Finished saving Hdf5 data")
        except Exception as e:
            self.err(e, "Can not convert data to Hdf5")