Problemunvalidated
the _merge indicator column returned by DataFrame.merge(indicator=True) changed from CategoricalDtype to StringDtype — In pandas 2.2. Tension: Equality comparisons like merged["_merge"] == "left_only" now return a nullable boolean array (BooleanDtype) instead of a regular numpy bool array. Outcome: When used for indexing, pandas raises ValueError: The truth value of an array with more than one element is ambiguous.
49aeafb0-4e40-4f70-be7e-9d190096f9e5
the _merge indicator column returned by DataFrame.merge(indicator=True) changed from CategoricalDtype to StringDtype — In pandas 2.2. Tension: Equality comparisons like merged["_merge"] == "left_only" now return a nullable boolean array (BooleanDtype) instead of a regular numpy bool array. Outcome: When used for indexing, pandas raises ValueError: The truth value of an array with more than one element is ambiguous.