BUG: String[pyarrow] comparison with mixed object#62424
BUG: String[pyarrow] comparison with mixed object#62424jorisvandenbossche merged 5 commits intopandas-dev:mainfrom
Conversation
jorisvandenbossche
left a comment
There was a problem hiding this comment.
Looks good!
Didn't add a whatsnew note since I'm not sure if the bug is in a released version cc @jorisvandenbossche ?
It's also fixing a bug in the existing nullable string dtype, and we are generally noting bug fixes for the new str dtype as well in the 2.3.x whatsnew. I am planning to backport this, so you can add a note there.
(if it would only have been for the new dtype and targetting 3.0, it would indeed not need a whatsnew note)
| arr.searchsorted(b) | ||
|
|
||
|
|
||
| def test_mixed_object_comparison(dtype): |
There was a problem hiding this comment.
Maybe move this to pandas/tests/arrays/string_/test_string.py? (in general this file only contains the generic extension tests, not string-specific ones)
There was a problem hiding this comment.
(although it is not actually that string specific, generally all of our dtypes should do this comparison to mixed object dtype? So we could also make this a base extension test. But let's do that later, that might involve more fixes in other (test) EAs which doesn't need to be backported)
There was a problem hiding this comment.
i started a branch this morning that adds a tests.arithmetic.test_string file. if this is merged, i'll move this test in that branch too
|
Are we good here? I'd like to follow up with the branch mentioned about refactoring string arithmetic tests. |
|
Thanks @jbrockmendel! |
|
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
|
Manual backport -> #62504 |
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
doc/source/whatsnew/vX.X.X.rstfile if fixing a bug or adding a new feature.Didn't add a whatsnew note since I'm not sure if the bug is in a released version cc @jorisvandenbossche ?