Skip to content

Conversation

yuanx749
Copy link
Contributor

As #60459, replace concat with slice to avoid the error.

@mroeschke mroeschke added Output-Formatting __repr__ of pandas objects, to_string metadata _metadata, .attrs labels Dec 16, 2024
@mroeschke mroeschke added this to the 3.0 milestone Dec 16, 2024
@mroeschke mroeschke merged commit 8e119a7 into pandas-dev:main Dec 16, 2024
52 of 53 checks passed
@mroeschke
Copy link
Member

Thanks @yuanx749

@yuanx749 yuanx749 deleted the truncate-series branch December 16, 2024 23:42
KevsterAmp pushed a commit to KevsterAmp/pandas that referenced this pull request Mar 12, 2025
pandas-dev#60574)

* Add test

* BUG: fix ValueError when printing a Series with DataFrame in its attrs

* Add note
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metadata _metadata, .attrs Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: ValueError when printing a DataFrame's column having a DataFrame in its attrs
2 participants