SHARE
TWEET

Untitled

a guest Sep 17th, 2019 81 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.                  .bar(subset=["OtherPay",], color='lightgreen')\
  9.                  .bar(subset=["BasePay"], color='#ee1f5f')\
  10.                  .bar(subset=["TotalPay"], color='#FFA07A')
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