Skip to content

Commit 03a81c5

Browse files
committed
Explain repr changes more prominently in release notes
1 parent c42b797 commit 03a81c5

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

doc/source/v0.13.0.txt

+16-6
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,22 @@ HDFStore API Changes
375375
via the option ``io.hdf.dropna_table`` (:issue:`4625`)
376376
- pass thru store creation arguments; can be used to support in-memory stores
377377

378+
DataFrame repr Changes
379+
~~~~~~~~~~~~~~~~~~~~~~
380+
381+
The HTML and plain text representations of :class:`DataFrame` now show
382+
a truncated view of the table once it exceeds a certain size, rather
383+
than switching to the short info view (:issue:`4886`, :issue:`5550`).
384+
This makes the representation more consistent as small DataFrames get
385+
larger.
386+
387+
.. image:: _static/df_repr_truncated.png
388+
:alt: Truncated HTML representation of a DataFrame
389+
390+
To get the info view, call :meth:`DataFrame.info`. If you prefer the
391+
info view as the repr for large DataFrames, you can set this by running
392+
``set_option('display.large_repr', 'info')``.
393+
378394
Enhancements
379395
~~~~~~~~~~~~
380396

@@ -607,12 +623,6 @@ Enhancements
607623
output datetime objects should be formatted. Datetimes encountered in the
608624
index, columns, and values will all have this formatting applied. (:issue:`4313`)
609625
- ``DataFrame.plot`` will scatter plot x versus y by passing ``kind='scatter'`` (:issue:`2215`)
610-
- The HTML and plain text representations of :class:`DataFrame` now show
611-
a truncated view of the table once it exceeds a certain size, rather
612-
than switching to the short info view (:issue:`4886`, :issue:`5550`).
613-
This makes the representation more consistent as small DataFrames get
614-
larger. To get the info view, call :meth:`DataFrame.info`, or restore
615-
the old behaviour with ``set_option('display.large_repr', 'info')``.
616626

617627
.. _whatsnew_0130.experimental:
618628

0 commit comments

Comments
 (0)