def select_matching_record(dataframe, linked_row, matching_col):
    """Return dataframe row based on matching column name"""
    return dataframe[
        dataframe[matching_col] == linked_row[matching_col]
    ].compute()