-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
IO HTMLread_html, to_html, Styler.apply, Styler.applymapread_html, to_html, Styler.apply, Styler.applymapOutput-Formatting__repr__ of pandas objects, to_string__repr__ of pandas objects, to_string
Milestone
Description
I'm using the pandas.DataFrame.to_html() method to generate a table to embed into a a templated document which references the table via an id. It would be useful if pandas.DataFrame.to_html() supported a table_id parameter:
df.to_html(table_id='myTable')
to produce:
<table border="1" class="dataframe" id='mytable'>
Metadata
Metadata
Assignees
Labels
IO HTMLread_html, to_html, Styler.apply, Styler.applymapread_html, to_html, Styler.apply, Styler.applymapOutput-Formatting__repr__ of pandas objects, to_string__repr__ of pandas objects, to_string