Skip to content

Conversation

@mroeschke
Copy link
Member

Before storing dataframe exchange column buffers in _buffers would warn

UserWarning: Pandas doesn't allow columns to be created via a new attribute name - see https://pandas.pydata.org/pandas-docs/stable/indexing.html#attribute-access

Looks like these aren't used anywhere yet, but to be associate with the DataFrame, it's more natural to store in attrs

cc @vnlitvinov

@mroeschke mroeschke added the Refactor Internal refactoring of code label Jun 3, 2022
@mroeschke mroeschke added this to the 1.5 milestone Jun 3, 2022
@jreback
Copy link
Contributor

jreback commented Jun 5, 2022

looks fine, @vnlitvinov if any comments

@mroeschke mroeschke merged commit 0be24e0 into pandas-dev:main Jun 9, 2022
@mroeschke
Copy link
Member Author

Can follow up with any comments if needed.

@mroeschke mroeschke deleted the fix/xchange_buffers branch June 9, 2022 19:11
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Internal refactoring of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants