def get_all_entries(df, pdbid, cdr):
    """
    Get all entries of a given PDBID and CDR.
    :param df: dataframe.DataFrame
    :rtype: pandas.DataFrame
    """
    return df[(df['input_tag'].str.contains(pdbid)) & (df['CDR'] == cdr)]