Skip to content

Commit 3ed412a

Browse files
committed
adjust for comments
1 parent 7c84657 commit 3ed412a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/source/whatsnew/v0.25.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ a dict to a Series groupby aggregation (:ref:`whatsnew_0200.api_breaking.depreca
7575
See :ref:`_groupby.aggregate.named` for more.
7676

7777

78-
.. _whatsnew_0240.enhancements.multi_index_repr:
78+
.. _whatsnew_0250.enhancements.multi_index_repr:
7979

8080
Better repr for MultiIndex
8181
^^^^^^^^^^^^^^^^^^^^^^^^^^

pandas/io/formats/printing.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ def format_object_summary(obj, formatter, is_justify=True, name=None,
285285
line_break_each_value : bool, default False
286286
If True, inserts a line break for each value of ``obj``.
287287
If False, only break lines when the a line of values gets wider
288-
than the display width
288+
than the display width.
289289
290-
.. versionadded:: 0.24.0
290+
.. versionadded:: 0.25.0
291291
292292
Returns
293293
-------
@@ -433,8 +433,7 @@ def best_len(values):
433433

434434
def _justify(head, tail):
435435
"""
436-
Justify each item in each list-like in head and tail, so each item
437-
right-aligns when the two list-likes are stacked vertically.
436+
Justify items in head and tail, so they are right-aligned when stacked.
438437
439438
Parameters
440439
----------
@@ -443,8 +442,9 @@ def _justify(head, tail):
443442
444443
Returns
445444
-------
446-
head : list of tuples of strings
447-
tail : list of tuples of strings
445+
tuple of list of tuples of strings
446+
Same as head and tail, but items are right aligned when stacked
447+
vertically.
448448
449449
Examples
450450
--------

0 commit comments

Comments
 (0)