You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.16.1.txt
+39-21Lines changed: 39 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,9 @@ Highlights include:
13
13
- New section on how-to-contribute to *pandas*, see :ref:`here <contributing>`
14
14
- Revised "Merge, join, and concatenate" documentation, including graphical examples to make it easier to understand each operations, see :ref:`here <merging>`
15
15
- New method ``sample`` for drawing random samples from Series, DataFrames and Panels. See :ref:`here <whatsnew_0161.enhancements.sample>`
16
-
- ``BusinessHour`` date-offset is now supported, see :ref:`here <timeseries.businesshour>`
16
+
- The default ``Index`` printing has changed to a more uniform format, see :ref:`here <whatsnew_0161.index_repr>`
17
+
- ``BusinessHour`` datetime-offset is now supported, see :ref:`here <timeseries.businesshour>`
18
+
17
19
- Further enhancement to the ``.str`` accessor to make string operations easier, see :ref:`here <whatsnew_0161.enhancements.string>`
18
20
19
21
.. contents:: What's new in v0.16.1
@@ -268,36 +270,51 @@ API changes
268
270
269
271
- By default, ``read_csv`` and ``read_table`` will now try to infer the compression type based on the file extension. Set ``compression=None`` to restore the previous behavior (no decompression). (:issue:`9770`)
270
272
271
-
Backwards incompatible API changes
272
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273
-
- default behavior for HDF write functions with "table" format is now to keep rows that are all missing except for index. (:issue:`9382`)
273
+
.. _whatsnew_0161.index_repr:
274
+
275
+
Index Representation
276
+
~~~~~~~~~~~~~~~~~~~~
277
+
278
+
The string representation of ``Index`` and its sub-classes have now been unified. These will show a single-line display if there are few values; a wrapped multi-line display for a lot of values (but less than ``display.max_seq_items``; if lots of items (> ``display.max_seq_items``) will show a truncated display (the head and tail of the data). The formatting for ``MultiIndex`` is unchanges (a multi-line wrapped display). The display width responds to the option ``display.max_seq_items``, which is defaulted to 100. (:issue:`6482`)
0 commit comments