Skip to content
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

Tidy representation when truncating dfs #7086

Merged
merged 1 commit into from
May 16, 2014
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
Binary file added doc/source/_static/trunc_after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/_static/trunc_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions doc/source/v0.14.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ users upgrade to this version.

- :ref:`API Changes <whatsnew_0140.api>`

- :ref:`Groupby API Changes <whatsnew_0140.groupby>`

- :ref:`Performance Improvements <whatsnew_0140.performance>`

- :ref:`Prior Deprecations <whatsnew_0140.prior_deprecations>`
Expand Down Expand Up @@ -216,6 +218,24 @@ API changes
Display Changes
~~~~~~~~~~~~~~~

- The default way of printing large DataFrames has changed. DataFrames
exceeding ``max_rows`` and/or ``max_columns`` are now displayed in a
centrally truncated view, consistent with the printing of a
:class:`pandas.Series` (:issue:`5603`).

In previous versions, a DataFrame was truncated once the dimension
constraints were reached and an ellipse (...) signaled that part of
the data was cut off.

.. image:: _static/trunc_before.png
:alt: The previous look of truncate.

In the current version, large DataFrames are centrally truncated,
showing a preview of head and tail in both dimensions.

.. image:: _static/trunc_after.png
:alt: The new look.

- allow option ``'truncate'`` for ``display.show_dimensions`` to only show the dimensions if the
frame is truncated (:issue:`6547`).

Expand Down
Loading