SHARE
TWEET

Untitled

a guest Sep 16th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. df.head(10).style.format({"BasePay": "${:20,.0f}",
  2.                           "OtherPay": "${:20,.0f}",
  3.                           "TotalPay": "${:20,.0f}",
  4.                           "TotalPayBenefits":"${:20,.0f}"})\
  5.                  .format({"JobTitle": lambda x:x.lower(),
  6.                           "EmployeeName": lambda x:x.lower()})\
  7.                  .hide_index()\
  8.                  .highlight_max(color='lightgreen')\
  9.                  .highlight_min(color='#cd4f39')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top