def compute_meter_consistent(df):
    compute_count = df.groupby(['vatID', 'deliveryNum'])[['compute']].nunique()
    dups = compute_count[(compute_count['compute'] > 1)]
    return pd.merge(dups.reset_index(), df[['run', 'vatID', 'deliveryNum', 'compute']], how='left', suffixes=['_dup', ''], left_on=['vatID', 'deliveryNum'], right_on=['vatID', 'deliveryNum'])
def compute_meter_consistent(df):
    compute_count = df.groupby(['vatID', 'deliveryNum'])[['compute']].nunique()
    dups = compute_count[(compute_count['compute'] > 1)]
    return pd.merge(dups.reset_index(), df[['run', 'vatID', 'deliveryNum', 'compute']], how='left', suffixes=['_dup', ], left_on=['vatID', 'deliveryNum'], right_on=['vatID', 'deliveryNum'])