REF: DataFrame.to_html
should call Styler.to_html
#41693
Labels
IO HTML
read_html, to_html, Styler.apply, Styler.applymap
Master Tracker
High level tracker for similar issues
Refactor
Internal refactoring of code
Styler
conditional formatting using DataFrame.style
Uh oh!
There was an error while loading. Please reload this page.
The tracker of items needed to do before deprecating
DataFrame.to_html()
.Blockers
jinja2
requirement for HTML output, sinceStyler
requiresjinja2
.Development
Styler.to_html
as performant or better thanDataFrame.to_html
(PERF: halve render time in Styler with itertuples #39972) (PERF: make Styler default formatter arguments statics instead of repeated dynamic #40425) (ENH: makeStyler
compatible with non-unique indexes #41269)Styler
compatible with non-unique indexes #41269).Styler.to_html
getsbold_headers
andcaption
kwarg #43149)enhancenot necessary.hide_columns
with.show_columns
alternative (optional)sparse_columns
andsparse_index
added toStyler.to_html
#41946).Styler
to automatically trim dataframes #41635)max_rows
max_cols
kw forStyler.to_html
+styler.options
#42972).hide_columns
and.hide_index
to have dual function to hide the entire array, or specific items (API: makehide_columns
andhide_index
have a consistent signature and function inStyler
#41266 DEPR REF:hide(axis=..)
replaceshide_index
andhide_columns
#43771)styler
option context for sparsification of columns and index separately #41512)styler
for default output manipulation, using_repr_html_
methods (Opinion requested: Pandas Options for Styler #41395)names
toStyler.hide_index
#43346add the(using DataFrame.style loses all default table styling googlecolab/colabtools#1687)class="dataframe"
attribute by default for google colabTreatment of Keyword Args
buf
buf
encoding
encoding
table_id
table_uuid
classes
table_attributes
sparsify
sparse_index
sparse_columns
max_rows
min_rows
max_cols
max_rows
max_columns
min_rows
removed since it is console relatedbold_rows
bold_headers
doctype_html
style
andtable
HTML elements.exclude_styles
DataFrame.to_html
by dropping extra features.caption
na_rep
formatters
float_format
decimal
escape
Styler.format(...)
which has more controlcolumns
header
index
Styler.hide_index(...)
andStyler.hide_columns(...)
border
col_space
render_links
http[...]
, not as sub part of string, i.e.other http[...] text
. if required should be added toStyler.format(...)
notebook
show_dimensions
df.shape
provides the necessary workaround, and as a last resortcaption=f"dimension: {df.shape}"
displays the info.justify
index_names
hide_columns
could introduce a keyword argument to specifically hide the index names row.The text was updated successfully, but these errors were encountered: