-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
Backport of string changes for 2.3 release - part 2 #60013
Merged
jorisvandenbossche
merged 34 commits into
pandas-dev:2.3.x
from
jorisvandenbossche:2.3.0-backports-2
Oct 10, 2024
Merged
Backport of string changes for 2.3 release - part 2 #60013
jorisvandenbossche
merged 34 commits into
pandas-dev:2.3.x
from
jorisvandenbossche:2.3.0-backports-2
Oct 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* REF: avoid copy in StringArray factorize * mypy fixup * un-xfail
* DOC: Add whatsnew for 2.3.0 * fix duplicate label
* BUG (string): str.replace with negative n * update GH ref
* TST (string) fix xfailed groupby tests (3) * TST: non-pyarrow build
Co-authored-by: Joris Van den Bossche <[email protected]>
…v#59678) * TST (string dtype): fix and clean up arrow roundtrip tests * fix using_infer_string
* TST (string): more targeted xfails in test_string.py * Fix no-pyarrow test * Update pandas/tests/extension/test_string.py Co-authored-by: Matthew Roeschke <[email protected]> * Update pandas/tests/extension/test_string.py Co-authored-by: Matthew Roeschke <[email protected]> --------- Co-authored-by: Matthew Roeschke <[email protected]>
* REF: de-duplicate _str_contains * pyright ignore
* String dtype: implement _get_common_dtype * add specific tests * try fix typing * try fix typing * suppress typing error * support numpy 2.0 string * fix typo
…ev#59544) Co-authored-by: Joris Van den Bossche <[email protected]>
Co-authored-by: Joris Van den Bossche <[email protected]>
…ring_array (pandas-dev#59756) * BUG (string dtype): fix inplace mutation with copy=False in ensure_string_array * update
Co-authored-by: Joris Van den Bossche <[email protected]>
…ndas-dev#59768) * BUG/API (string dtype): return float dtype for series[str].rank() * update frame tests * add whatsnew * correct whatsnew note
…ev#59759) * String dtype: fix isin() values handling for python storage * address feedback
…ngine (pandas-dev#59810) String dtype: allow string dtype in query/eval with default mumexpr engine
* String dtype: map builtin str alias to StringDtype * fix tests * fix datetimelike astype and more tests * remove xfails * try fix typing * fix copy_view tests * fix remaining tests with infer_string enabled * ignore typing issue for now * move to common.py * simplify Categorical._str_get_dummies * small cleanup * fix ensure_string_array to not modify extension arrays inplace * fix ensure_string_array once more + fix is_extension_array_dtype for str * still xfail TestArrowArray::test_astype_str when not using infer_string * ensure maybe_convert_objects copies object dtype input array when inferring StringDtype * update test_1d_object_array_does_not_copy test * update constructor copy test + do not copy in maybe_convert_objects? * skip str.get_dummies test for now * use pandas_dtype() instead of registry.find * fix corner cases for calling pandas_dtype * add TODO comment in ensure_string_array
…andas-dev#59854) * String dtype: allow string dtype for non-raw apply with numba engine * remove xfails * clean-up
jorisvandenbossche
added
Build
Library building on various platforms
Strings
String extension data type and string data
labels
Oct 10, 2024
Already green! |
jorisvandenbossche
merged commit Oct 10, 2024
60b1b7b
into
pandas-dev:2.3.x
113 of 114 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow-up on #59513, with a second set of backports