Skip to content

Commit 18ae314

Browse files
author
Tom Augspurger
committed
Merge pull request #10250 from TomAugspurger/stylely
ENH: Conditional HTML Formatting
2 parents 5aa5ae6 + 702d63e commit 18ae314

20 files changed

+43859
-4
lines changed

ci/requirements-2.6.run

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ psycopg2=2.5.1
1414
pymysql=0.6.0
1515
sqlalchemy=0.7.8
1616
xlsxwriter=0.4.6
17+
jinja2=2.8

ci/requirements-2.7.run

+1
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ pymysql=0.6.3
1919
html5lib=1.0b2
2020
beautiful-soup=4.2.1
2121
statsmodels
22+
jinja2=2.8

ci/requirements-3.3.run

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ lxml=3.2.1
1414
scipy
1515
beautiful-soup=4.2.1
1616
statsmodels
17+
jinja2=2.8

ci/requirements-3.4.run

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ sqlalchemy
1616
bottleneck
1717
pymysql=0.6.3
1818
psycopg2
19+
jinja2=2.8

ci/requirements-3.4_SLOW.run

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ bottleneck
1818
pymysql
1919
psycopg2
2020
statsmodels
21+
jinja2=2.8

ci/requirements-3.5.run

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pytables
1212
html5lib
1313
lxml
1414
matplotlib
15+
jinja2
1516

1617
# currently causing some warnings
1718
#sqlalchemy

doc/source/api.rst

+50
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,56 @@ The following methods are available only for ``DataFrameGroupBy`` objects.
16621662
DataFrameGroupBy.corrwith
16631663
DataFrameGroupBy.boxplot
16641664

1665+
Style
1666+
-----
1667+
.. currentmodule:: pandas.core.style
1668+
1669+
``Styler`` objects are returned by :attr:`pandas.DataFrame.style`.
1670+
1671+
1672+
Constructor
1673+
~~~~~~~~~~~
1674+
.. autosummary::
1675+
:toctree: generated/
1676+
1677+
Styler
1678+
1679+
Style Application
1680+
~~~~~~~~~~~~~~~~~
1681+
.. autosummary::
1682+
:toctree: generated/
1683+
1684+
Styler.apply
1685+
Styler.applymap
1686+
Styler.set_precision
1687+
Styler.set_table_styles
1688+
Styler.set_caption
1689+
Styler.set_properties
1690+
Styler.set_uuid
1691+
Styler.clear
1692+
1693+
Builtin Styles
1694+
~~~~~~~~~~~~~~
1695+
1696+
.. autosummary::
1697+
:toctree: generated/
1698+
1699+
Styler.highlight_max
1700+
Styler.highlight_min
1701+
Styler.highlight_null
1702+
Styler.background_gradient
1703+
Styler.bar
1704+
1705+
Style Export and Import
1706+
~~~~~~~~~~~~~~~~~~~~~~~
1707+
1708+
.. autosummary::
1709+
:toctree: generated/
1710+
1711+
Styler.render
1712+
Styler.export
1713+
Styler.set
1714+
16651715
.. currentmodule:: pandas
16661716

16671717
General utility functions

doc/source/html-styling.html

+21,492
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)