I'm trying to display a dataframe with a specific style twice (output twice on jupyter notebook). It doesn't show up when I use a for loop.
## having already created dataframe df
for i in range(2):
df.style.set_table_styles([{'selector' : '','props' : [('border',
'10px solid yellow')]}])
However it works when I do this:
df.style.set_table_styles([{'selector' : '','props' : [('border',
'10px solid yellow')]}])
df.style.set_table_styles([{'selector' : '','props' : [('border',
'10px solid yellow')]}])
How can I get it to work in a for loop?