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
+50-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,10 @@ 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
+
19
+
>>>>>>> more fixes
17
20
- Further enhancement to the ``.str`` accessor to make string operations easier, see :ref:`here <whatsnew_0161.enhancements.string>`
18
21
19
22
.. contents:: What's new in v0.16.1
@@ -268,6 +271,52 @@ API changes
268
271
269
272
- 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
273
274
+
.. _whatsnew_0161.index_repr:
275
+
276
+
Index Representation
277
+
~~~~~~~~~~~~~~~~~~~~
278
+
279
+
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