Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

set text and background color in pandas table

df.style.set_properties(**{'background-color': 'black',
                           'color': 'lawngreen',
                           'border-color': 'white'})
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #set #text #background #color #pandas #table
ADD COMMENT
Topic
Name
8+8 =