How to change the line spacing of all tables displayed by Pandas
? I.e. to do the same thing that this code does, but globally.
styles = [
dict(selector="tr", props=[('line-height', '4px')])
]
df.style.set_table_styles(styles)
How to change the line spacing of all tables displayed by Pandas
? I.e. to do the same thing that this code does, but globally.
styles = [
dict(selector="tr", props=[('line-height', '4px')])
]
df.style.set_table_styles(styles)