def _filter_for_receive(transcript_group):
    """Remove the data that we are not going to use.

    Args:
        transcript_group (pandas.DataFrame): The transcript dataset

    Returns:
        pandas.DataFrame: The modified transcript with rows filtered
    """

    transcript_group = transcript_group[~transcript_group.age.isna() & transcript_group.received]

    return transcript_group