Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 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. .highlight_max(color='lightgreen')\
  9. .highlight_min(color='#cd4f39')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement