Skip to content

REF: Create pandas/core/arrays/arrow #46591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 3, 2022
Merged

Conversation

mroeschke
Copy link
Member

  • pandas/core/arrays/_arrow_utils.py -> pandas/core/arrays/arrow/_arrow_utils.py
  • ArrowExtensionArray: pandas/core/arrays/_mixins.py -> pandas/core/arrays/arrow/array.py

@mroeschke mroeschke added Refactor Internal refactoring of code Arrow pyarrow functionality labels Apr 1, 2022
@mroeschke mroeschke added this to the 1.5 milestone Apr 1, 2022
@jreback jreback merged commit 41e423f into pandas-dev:main Apr 3, 2022
@mroeschke mroeschke deleted the ref/arrow_dir branch April 3, 2022 15:50
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
else:
value = np.asarray(value)[argsort]

self._data = self._set_via_chunk_iteration(indices=indices, value=value)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just found this. I'm -1 on simulating mutability at the EA level. (IIRC we discussed this on ArrowStringArray or something). Swapping-out should happen at the Series/DataFrame (or Manager) level.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like this relates to #45419 since this is done because the self._data: pa.ChunkedArray is immutable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants