def METHOD_NAME(self, other):
    """Copy over the data from another learner.
    Parameters
    ----------
    other : BaseLearner object
        The learner from which the data is copied.
    """
    self._set_data(other._get_data())