ClusterConcept
Nullable Equality in Pandas
cluster-205
Pandas 2.2 changed the merge indicator _merge from CategoricalDtype to StringDtype, so comparisons like df['_merge'] == 'left_only' produce a nullable BooleanDtype that breaks boolean indexing with ambiguous-truth errors.