def sb_xs_compare(sb, sheet):
    """Compute the absolute and percentage difference between the maximum fields of one CrossSection in a SectionBook and all the other CrossSections
    args:
        sb - SectionBook object
        sheet - sheet string of the CrossSection in sb that should be
                compared with all the other CrossSections
    returns:
        abs_dif - DataFrame with the absolute difference of the maximum
                  fields at ROW edges
        rel_dif - DataFrame with the relative difference of the maximum
                  fields at ROW edges (multiply by 100 to get percentage dif)"""

    rem = sb.ROW_edge_max
    abs_dif = rem - rem.loc[sheet]
    rel_dif = (rem - rem.loc[sheet])/rem
    return(abs_dif, rel_dif)