python - Is it possible to export a pandas dataframe styler object to html -


i have formatted pandas dataframe using .style, , send out formatted table email. however, styler objects not compatible to_html function, instead tried use .render() function.

however, .render() seems remove quite lot of formatting e.g. table border disappears , text becomes centred. i'm trying avoid editing html string produced .render() understand may not possible.

what other options sending out formatted table email?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

Command prompt result in label. Python 2.7 -