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

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -