.applymap - 셀단위






def applymapDef(val):
    yellow = 'background-color: yellow' if val < 4 else ''
    return yellow

.applymap(  applymapDef ,  subset=[ 'AAA' , 'BBB' ] )