From c453a6fccc426ec5471f3aa856cdde6bba0a515c Mon Sep 17 00:00:00 2001 From: "JHM Darbyshire (iMac)" Date: Thu, 27 May 2021 19:45:13 +0200 Subject: [PATCH 1/2] add to_html to style.rst --- doc/source/reference/style.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/reference/style.rst b/doc/source/reference/style.rst index 0d743b5fe8b8b..68efd3b000bbc 100644 --- a/doc/source/reference/style.rst +++ b/doc/source/reference/style.rst @@ -67,5 +67,6 @@ Style export and import Styler.render Styler.export Styler.use + Styler.to_html Styler.to_excel Styler.to_latex From 431d7477d4ae93226be6220a405e022186692aa6 Mon Sep 17 00:00:00 2001 From: "JHM Darbyshire (iMac)" Date: Thu, 27 May 2021 23:16:51 +0200 Subject: [PATCH 2/2] add to_html to style.rst --- pandas/io/formats/style.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 5a9b5e3c81e84..eb9901d008313 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -758,13 +758,13 @@ def to_html( ---------- buf : str, Path, or StringIO-like, optional, default None Buffer to write to. If ``None``, the output is returned as a string. - table_uuid: str, optional + table_uuid : str, optional Id attribute assigned to the HTML element in the format: ``
`` If not given uses Styler's initially assigned value. - table_attributes: str, optional + table_attributes : str, optional Attributes to assign within the `
` HTML element in the format: ``
>``