-
-
Couldn't load subscription status.
- Fork 19.2k
Closed
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasIO LaTeXto_latexto_latexMaster TrackerHigh level tracker for similar issuesHigh level tracker for similar issuesStylerconditional formatting using DataFrame.styleconditional formatting using DataFrame.style
Description
The tracker of items needed to do before deprecating DataFrame.to_latex().
- acceptance of the
jinja2requirement for LaTeX output, sinceStylerrequiresjinja2: this is blocker. - make Styler functional for all DataFrames (i.e. including non-unique columns, indexes) (ENH: make
Stylercompatible with non-unique indexes #41269). - enhance for
longtablekeyword or other environments (ENH: addenvironment, e.g. "longtable", toStyler.to_latex#41866). - enhance for
captionto allow short and long captions, and allow top/bottom caption placement. (ENH: add long and short captions toStyler.to_latex#41659) - enhance with ability to style indexes/column headers with styles (e.g bold rows). (ENH:
Styler.apply(map)_indexmade compatible withStyler.to_latex#41993) - enhance with an escape option for LaTeX characters. (REF: type change
escapeinStyler.formatto str to allow "html" and "latex" #41619) -
enhancenot necessary.hide_columnswith.show_columnsalternative (optional) - enhance
.hide_columnsand.hide_indexto have dual function to hide the entire array, or specific items (API: makehide_columnsandhide_indexhave a consistent signature and function inStyler#41266) - make styler reactive to separate sparse columns and index separately (ENH: add
styleroption context for sparsification of columns and index separately #41512) - acceptance of removal of specific kwargs and all formatting keyword args (see below).
-
validation fornot necessarycolumn_formatto pass tests or just rely on docs/duck typing? - validation for
captionto pass tests (CLN: add arg validation forcaption#43368) or just remove the validation in favour of duck typing? - ability to format index with a formatter ENH:
Styler.format_index()to display index values similarly to data-values withformat()#43101 - separate
siunitxfor encapsulating headers in curly braces only when necessary REF:styler.to_latexsiunitx changes: render {} only when needed. #43397 - index names removal ENH: kw
namestoStyler.hide_index#43346 - Optionally use multirow / multicol or just blank out cells. ENH:
multirownaive implementationStyler.to_latexpart1 #43369 ENH:multicolnaive implementation. part2 #43382 - fix bug: label doesnt render if a caption is not given (table and longtable) BUG: no
labelrender inStyler.to_latexifcaptionand"longtable"#43399
Removed Keyword Args
col_space: removed since Styler.to_latex() does not necessarily produce display values of equal length, (this is a console display only arg)
sparsify: replaced by alternative kwargs sparse_index and sparse_columns
multicolumn, multicolumn_format, multirow: replaced by alternative kwargs multirow_align multicol_align
formatters float_format : replaced by the superior df.style.format(...) args
pablodz
Metadata
Metadata
Assignees
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasIO LaTeXto_latexto_latexMaster TrackerHigh level tracker for similar issuesHigh level tracker for similar issuesStylerconditional formatting using DataFrame.styleconditional formatting using DataFrame.style