Commit 6a76485
BUG: Fix NA comparison inconsistency for object dtype Series
Fix `comp_method_OBJECT_ARRAY` to return `BooleanArray` when input contains
`pd.NA` values, ensuring NA is properly propagated in comparison results
instead of returning `False`.
Previously, when comparing an object dtype Series containing `pd.NA` with
a scalar, the vectorized comparison would return `False` for NA positions
instead of `<NA>`.
Closes #63328
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 35803bc commit 6a76485
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
| 141 | + | |
| 142 | + | |
145 | 143 | | |
146 | 144 | | |
147 | 145 | | |
| |||
0 commit comments