Feature Type

  • [ ] Adding new functionality to pandas

  • [ ] Changing existing functionality in pandas

  • [x] Removing existing functionality in pandas

Problem Description

54321 raised the issue regarding the DataFrame.attrs persistence in .parquet metadata, that was resolved in #54346.

In apache/arrow#45382 @fangchenli proposed that this functionality should be handled on the Arrow's side by adding the attributes during the metadata creation, rather than injecting them later on, which was then implemented in apache/arrow#47147

Feature Description

Revert the changes that were introduced in #54346, since they are clashing with the Arrow implementation now

Alternative Solutions

Both implementations can be left as is, although it should be assessed what kind of impact this could potentially have

Additional Context

I want to open this issue to discuss what Pandas community thinks is the best approach in this case