8000 ENH: add `environment`, e.g. "longtable", to `Styler.to_latex` by attack68 · Pull Request #41866 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

ENH: add environment, e.g. "longtable", to Styler.to_latex #41866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Jul 28, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
cacb041
add latex environment variable and longtable template
attack68 May 29, 2021
a4f75ab
add latex environment variable and longtable template
attack68 May 29, 2021
1962c58
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 1, 2021
24d0e9c
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 7, 2021
084b2f6
longtable with captions
attack68 Jun 7, 2021
3a054c3
add tests for longtable
attack68 Jun 8, 2021
bcf1168
add tests for longtable
attack68 Jun 8, 2021
2529b1d
mypy fix
attack68 Jun 8, 2021
c6e608b
test fix
attack68 Jun 8, 2021
bd7c5f8
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 9, 2021
dbe4154
improve docs, and whats new
attack68 Jun 9, 2021
b412a12
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 11, 2021
ea7f956
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 12, 2021
38fa8c4
Merge branch 'rls1.3.0' into longtable_to_latex
attack68 Jun 15, 2021
cf70df1
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 16, 2021
7ad8802
merge into master and add extra needed tests
attack68 Jun 16, 2021
ab7e6f1
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 18, 2021
e2ea44a
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 20, 2021
ec6ebc4
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 24, 2021
06962c6
parametrize multindex columns (ivan request)
attack68 Jun 24, 2021
8e3ff5b
parametrize caption label (ivan request)
attack68 Jun 24, 2021
67ffe24
more readable (ivan request)
attack68 Jun 24, 2021
903923b
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 27, 2021
17e090f
ivan requests
attack68 Jun 28, 2021
4ada8ba
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 29, 2021
78159fe
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 30, 2021
8164c2e
imporve tests (ivan request)
attack68 Jun 30, 2021
9d4972c
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jun 30, 2021
175e1e3
ValueError on position_float tests (simon request)
attack68 Jun 30, 2021
8081971
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jul 5, 2021
42151ac
whatsnew 1.4.0
attack68 Jul 5, 2021
2311db2
whatsnew 1.4.0
attack68 Jul 5, 2021
3da4ed7
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jul 7, 2021
4cd8263
add to doc packages
attack68 Jul 7, 2021
3b7427d
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jul 20, 2021
3c5a2e9
Merge remote-tracking branch 'upstream/master' into longtable_to_latex
attack68 Jul 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
whatsnew 1.4.0
  • Loading branch information
attack68 committed Jul 5, 2021
commit 42151ac12b21769f80289107070983a5c75a4133
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v1.3.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ which has been revised and improved (:issue:`39720`, :issue:`39317`, :issue:`404
- Many features of the :class:`.Styler` class are now either partially or fully usable on a DataFrame with a non-unique indexes or columns (:issue:`41143`)
- One has greater control of the display through separate sparsification of the index or columns using the :ref:`new styler options <options.available>`, which are also usable via :func:`option_context` (:issue:`41142`)
- Added the option ``styler.render.max_elements`` to avoid browser overload when styling large DataFrames (:issue:`40712`)
- Added the method :meth:`.Styler.to_latex` (:issue:`21673`, :issue:`42320`, :issue:`41866`), which also allows some limited CSS conversion (:issue:`40731`)
- Added the method :meth:`.Styler.to_latex` (:issue:`21673`, :issue:`42320`), which also allows some limited CSS conversion (:issue:`40731`)
- Added the method :meth:`.Styler.to_html` (:issue:`13379`)
- Added the method :meth:`.Styler.set_sticky` to make index and column headers permanently visible in scrolling HTML frames (:issue:`29072`)

Expand Down
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v1.4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ enhancement2
Other enhancements
^^^^^^^^^^^^^^^^^^
- :meth:`Series.sample`, :meth:`DataFrame.sample`, and :meth:`.GroupBy.sample` now accept a ``np.random.Generator`` as input to ``random_state``. A generator will be more performant, especially with ``replace=False`` (:issue:`38100`)
-
- Added keyword argument ``environment`` to :meth:`.Styler.to_latex` also allowing a specific "longtable" entry with a separate jinja2 template (:issue:`41866`)

.. ---------------------------------------------------------------------------

Expand Down
0