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 - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -