@@ -375,6 +375,22 @@ HDFStore API Changes
375
375
via the option ``io.hdf.dropna_table`` (:issue:`4625`)
376
376
- pass thru store creation arguments; can be used to support in-memory stores
377
377
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
+
378
394
Enhancements
379
395
~~~~~~~~~~~~
380
396
@@ -607,12 +623,6 @@ Enhancements
607
623
output datetime objects should be formatted. Datetimes encountered in the
608
624
index, columns, and values will all have this formatting applied. (:issue:`4313`)
609
625
- ``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')``.
616
626
617
627
.. _whatsnew_0130.experimental:
618
628
0 commit comments