diff --git a/ci/requirements_all.txt b/ci/requirements_all.txt index 6a0b695c5de87..6a05f2db8901f 100644 --- a/ci/requirements_all.txt +++ b/ci/requirements_all.txt @@ -20,3 +20,4 @@ lxml sqlalchemy bottleneck pymysql +Jinja2 diff --git a/doc/make.py b/doc/make.py index 6b424ce2814d5..c09514d758833 100755 --- a/doc/make.py +++ b/doc/make.py @@ -104,11 +104,14 @@ def clean(): def html(): check_build() + os.system('jupyter nbconvert --to=html --template=basic ' + '--output=source/html-styling.html source/html-styling.ipynb') if os.system('sphinx-build -P -b html -d build/doctrees ' 'source build/html'): raise SystemExit("Building HTML failed.") try: # remove stale file + os.system('rm source/html-styling.html') os.system('cd build; rm -f html/pandas.zip;') except: pass diff --git a/doc/source/html-styling.html b/doc/source/html-styling.html index e595cffc751a8..f751d9575ddb5 100644 --- a/doc/source/html-styling.html +++ b/doc/source/html-styling.html @@ -1,305 +1,10 @@ - - -
-New in version 0.17.1
+New in version 0.17.1
Provisional: This is a new feature and still under development. We'll be adding features and possibly making breaking changes in future releases. We'd love to hear your feedback.
You can apply conditional formatting, the visual styling of a DataFrame
depending on the data within, by using the DataFrame.style
property.
@@ -344,7 +49,7 @@
import pandas as pd
@@ -374,7 +79,7 @@ Building Styles
-In [2]:
+In [4]:
df.style
@@ -388,7 +93,7 @@ Building Styles
-Out[2]:
+Out[4]:
@@ -397,7 +102,7 @@ Building Styles
+