Skip to content

Commit 2cb7a2a

Browse files
committed
Add whatsnew
1 parent f92a1d8 commit 2cb7a2a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,7 @@ Other
797797
- Bug in :meth:`read_csv` where chained fsspec TAR file and ``compression="infer"`` fails with ``tarfile.ReadError`` (:issue:`60028`)
798798
- Bug in Dataframe Interchange Protocol implementation was returning incorrect results for data buffers' associated dtype, for string and datetime columns (:issue:`54781`)
799799
- Bug in ``Series.list`` methods not preserving the original :class:`Index`. (:issue:`58425`)
800+
- Bug in printing a :class:`DataFrame` with a :class:`DataFrame` stored in :attr:`DataFrame.attrs` raised a ``ValueError`` (:issue:`60455`)
800801

801802
.. ***DO NOT USE THIS SECTION***
802803

pandas/tests/io/formats/test_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_repr_truncation_preserves_na(self):
130130
assert repr(df) == " a\n0 <NA>\n.. ...\n9 <NA>"
131131

132132
def test_repr_truncation_dataframe_attrs(self):
133-
# 60455
133+
# GH#60455
134134
df = DataFrame([[0] * 10])
135135
df.attrs["b"] = DataFrame([])
136136
with option_context("display.max_columns", 2, "display.show_dimensions", False):

0 commit comments

Comments
 (0)