From bf4051a935ac11c97069ef10813192652a990ddb Mon Sep 17 00:00:00 2001 From: marqueewinq Date: Mon, 22 Jan 2024 15:38:58 +0300 Subject: [PATCH] fix sonar issues --- src/insight/check.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/insight/check.py b/src/insight/check.py index 2a95189d..7c836a89 100644 --- a/src/insight/check.py +++ b/src/insight/check.py @@ -93,7 +93,6 @@ def continuous(self, sr: pd.Series) -> bool: All arithmetic operations can be done on continuous columns """ sr = self.infer_dtype(sr) - sr_dtype = str(sr.dtype) if len(sr.unique()) >= max( self.min_num_unique, self.ctl_mult * np.log(len(sr)) ) and sr.dtype.kind in ("i", "u", "f"):