Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  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')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement