diff --git a/pandas/core/roperator.py b/pandas/core/roperator.py index 9ea4bea41cdea..ea69cf383795f 100644 --- a/pandas/core/roperator.py +++ b/pandas/core/roperator.py @@ -52,7 +52,7 @@ def rpow(left, right): def rand_(left, right): - return operator.and_(right, left) + return right & left def ror_(left, right):