File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ Other Enhancements
194
194
- :meth:`Index.to_frame` now supports overriding column name(s) (:issue:`22580`).
195
195
- New attribute :attr:`__git_version__` will return git commit sha of current build (:issue:`21295`).
196
196
- Compatibility with Matplotlib 3.0 (:issue:`22790`).
197
+ - Representation of :class:`DataFrame` fills up the terminal window better
197
198
198
199
.. _whatsnew_0240.api_breaking:
199
200
Original file line number Diff line number Diff line change @@ -620,7 +620,6 @@ def to_string(self):
620
620
# Size of last col determines dot col size. See
621
621
# `self._to_str_columns
622
622
size_tr_col = len (headers [self .tr_size_col ])
623
- max_len += size_tr_col # Need to make space for largest row
624
623
# plus truncate dot col
625
624
dif = max_len - self .w
626
625
# '+ 1' to avoid too wide repr (GH PR #17023)
You can’t perform that action at this time.
0 commit comments