def drop_disregard(df):
    """
    If one token in a note is marked 'disregard', remove the whole note from df.

    Parameters
    ----------
    df: DataFrame
        parsed token-level annotations df (created by `parse_annotations.py`)

    Returns
    -------
    DataFrame
        df without 'disregard' notes
    """

    df['disregard_note'] = df.groupby('NotitieID').disregard.transform('any')

    return df.query(
        "not disregard_note"
    ).drop(columns=['disregard', 'disregard_note'])