add border to frame tkinter code example
Example 1: tkiner border
from tkinter import *
root = Tk()
example = Label(root, Text="Hello World!", borderwidth="2", relief="groove")
root.mainloop()
Example 2: add border to dataframe in python
df.head(10).style.format({"BasePay": "${:20,.0f}", "OtherPay": "${:20,.0f}", "TotalPay": "${:20,.0f}", "TotalPayBenefits":"${:20,.0f}"})\ .format({"JobTitle": lambda x:x.lower(), "EmployeeName": lambda x:x.lower()})\ .hide_index()\ .bar(subset=["OtherPay",], color='lightgreen')\ .bar(subset=["BasePay"], color='#ee1f5f')\ .bar(subset=["TotalPay"], color='#FFA07A')