ClusterConcept
Nullable Merge Indicator Semantics
cluster-161
Pandas 2.2 changed the _merge indicator dtype from categorical to string, so comparisons like df['_merge'] == 'left_only' yield a nullable BooleanDtype and break boolean indexing with ambiguous truth-value errors.