Skip to content

REF: Replace "pyarrow" string storage checks with variable #54535

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 2 commits into from
Aug 17, 2023

Conversation

phofl
Copy link
Member

@phofl phofl commented Aug 13, 2023

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Precursor to the other pr

@phofl phofl added the Refactor Internal refactoring of code label Aug 13, 2023
@phofl phofl added this to the 2.1 milestone Aug 13, 2023
@@ -0,0 +1 @@
arrow_string_storage = ("pyarrow",)
Copy link
Member

Choose a reason for hiding this comment

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

Could this be put in a conftest.py instead? IMO variables are kinda hard to discover here

Copy link
Member Author

Choose a reason for hiding this comment

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

Do you want to use as a fixture or as a variable from conftest? Not sure how I feel about using this in every test function signature

Copy link
Member

Choose a reason for hiding this comment

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

Was thinking as a fixture. Is it needed in all these string tests currently?

Copy link
Member Author

Choose a reason for hiding this comment

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

in a bunch of them, inheritance makes it a bit ugly though

@phofl phofl merged commit 7c9ba89 into pandas-dev:main Aug 17, 2023
@phofl phofl deleted the test_string_array_refactor branch August 17, 2023 08:42
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Aug 17, 2023
mroeschke pushed a commit that referenced this pull request Aug 17, 2023
…rage checks with variable) (#54594)

Backport PR #54535: REF: Replace "pyarrow" string storage checks with variable

Co-authored-by: Patrick Hoefler <[email protected]>
mroeschke pushed a commit to mroeschke/pandas that referenced this pull request Aug 18, 2023
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