ToFloat.fit ToFloat.fit(data_mat: np.array, dobj: DataObject | None)[source] Method to implement to fit transformation.