diff --git a/pandas/core/series.py b/pandas/core/series.py index cc16c29c6c861..aa342c4829f78 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -6161,9 +6161,11 @@ def _align_for_op(self, right, align_asobject: bool = False): np.bool_, ): warnings.warn( - "Operation between non boolean Series with different " - "indexes will no longer return a boolean result in " - "a future version. Cast both Series to object type " + "Operation between Series with different indexes " + "that are not of numpy boolean or object dtype " + "will no longer return a numpy boolean result " + "in a future version. " + "Cast both Series to object type " "to maintain the prior behavior.", FutureWarning, stacklevel=find_stack_level(),