Skip to content

DOC: fix build error in to_latex and release notes #5447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/source/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
1 change: 1 addition & 0 deletions doc/source/v0.13.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
15 changes: 8 additions & 7 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1295,16 +1295,16 @@ 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
classes : str or list or tuple, default 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
Expand Down Expand Up @@ -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
Expand Down