From 2873676be1cef686456e0358c483d9e7bc49715c Mon Sep 17 00:00:00 2001 From: Jonathan Shi Date: Fri, 30 Aug 2024 16:34:17 -0700 Subject: [PATCH] FIX-#7379: Fix __imul__ performing addition instead of multiplication Signed-off-by: Jonathan Shi --- modin/pandas/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modin/pandas/series.py b/modin/pandas/series.py index 76470ab243c..d18a0bec778 100644 --- a/modin/pandas/series.py +++ b/modin/pandas/series.py @@ -517,7 +517,7 @@ def __rtruediv__(self, left) -> Series: return self.rtruediv(left) __iadd__ = __add__ - __imul__ = __add__ + __imul__ = __mul__ __ipow__ = __pow__ __isub__ = __sub__ __itruediv__ = __truediv__