File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -3602,13 +3602,12 @@ def from_custom_template(
3602
3602
3603
3603
Examples
3604
3604
--------
3605
- >>> from pandas.io.formats.style import Styler # doctest: +SKIP
3606
- >>> from IPython.display import HTML # doctest: +SKIP
3607
- >>> df = pd.DataFrame({"A": [1, 2]}) # doctest: +SKIP
3608
- >>> path = "path/to/template" # doctest: +SKIP
3609
- >>> file = "template.tpl" # doctest: +SKIP
3610
- >>> EasyStyler = Styler.from_custom_template(path, file) # doctest: +SKIP
3611
- >>> HTML(EasyStyler(df).to_html(table_title="Another Title")) # doctest: +SKIP
3605
+ >>> from pandas.io.formats.style import Styler
3606
+ >>> EasyStyler = Styler.from_custom_template("path/to/template",
3607
+ ... "template.tpl",
3608
+ ... ) # doctest: +SKIP
3609
+ >>> df = pd.DataFrame({"A": [1, 2]})
3610
+ >>> EasyStyler(df) # doctest: +SKIP
3612
3611
3613
3612
Please see:
3614
3613
`Table Visualization <../../user_guide/style.ipynb>`_ for more examples.
You can’t perform that action at this time.
0 commit comments