diff --git a/doc/source/release.rst b/doc/source/release.rst index 136829e692c8f..d9924a2457e7c 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -386,6 +386,7 @@ API Changes division. .. code-block:: python + In [3]: arr = np.array([1, 2, 3, 4]) In [4]: arr2 = np.array([5, 3, 2, 1]) diff --git a/doc/source/v0.13.0.txt b/doc/source/v0.13.0.txt index c736a52cd1e71..acd6baf4d6551 100644 --- a/doc/source/v0.13.0.txt +++ b/doc/source/v0.13.0.txt @@ -60,6 +60,7 @@ API changes division. .. code-block:: python + In [3]: arr = np.array([1, 2, 3, 4]) In [4]: arr2 = np.array([5, 3, 2, 1]) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 60bd36d58f0de..89219e76444a5 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1295,7 +1295,9 @@ def to_html(self, buf=None, columns=None, col_space=None, colSpace=None, justify=None, force_unicode=None, bold_rows=True, classes=None, escape=True): """ - to_html-specific options + Render a DataFrame as an HTML table. + + `to_html`-specific options: bold_rows : boolean, default True Make the row labels bold in the output @@ -1303,8 +1305,6 @@ def to_html(self, buf=None, columns=None, col_space=None, colSpace=None, CSS class(es) to apply to the resulting html table escape : boolean, default True Convert the characters <, >, and & to HTML-safe sequences. - - Render a DataFrame as an HTML table. """ if force_unicode is not None: # pragma: no cover @@ -1337,12 +1337,13 @@ def to_latex(self, buf=None, columns=None, col_space=None, colSpace=None, float_format=None, sparsify=None, index_names=True, bold_rows=True, force_unicode=None): """ - to_latex-specific options - bold_rows : boolean, default True - Make the row labels bold in the output - Render a DataFrame to a tabular environment table. You can splice this into a LaTeX document. + + `to_latex`-specific options: + + bold_rows : boolean, default True + Make the row labels bold in the output """ if force_unicode is not None: # pragma: no cover