def corr(x, table = False, limit = 20):
    if table == False:
        corrs = round(x.corr()*100)
        sortby = sort(sum(abs(corrs)-100),des=False)
        corrs = corrs[index(sortby)]
        corrs = T(T(corrs)[index(sortby)])
        if shape(corrs)[0]>limit: corrs = T(T(corrs.iloc[0:limit]).iloc[0:limit])
        corrs = T(reverse(T(reverse(corrs))))
        cmap = sb.light_palette("black", as_cmap=True)
        show = abs(corrs).style.background_gradient(cmap).set_properties(**{'max-width': '50px', 'font-size': '8pt'
                                                                              ,'color':'black'})
        return show
    else:
        try: return conts(x).corr()
        except: print("Error. No continuous data")