Machine Learning, Towards Data Science, AI, Data Science, Data Preprocessing.
df_style(val): return 'font-weight: 800' pivot_t = pd.pivot_table(temp, values='CV_mean', index=["scaler"], columns=['model'], aggfunc=np.sum) pivot_t_bold = pivot_t.style.applymap(df_style, subset=pd.IndexSlice[pivot_t["CART"].idxmax(),"CART"]) for col in list(pivot_t): pivot_t_bold =