I want to set background color of specific headers in dataframe
Here is the Original Dataframe:
and here is what i want:
I have tried this code so far, but it doesn't work:
df1.style.set_table_styles(
[{
'selector': 'th',
'props': [('background-color', 'red')]
}])