Skip to content

Commit 597c317

Browse files
committed
Fix linting
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
1 parent b3793f5 commit 597c317

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dice_ml/explainer_interfaces/dice_genetic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ def label_decode_cfs(self, cfs_arr):
560560
if ret_df is None:
561561
ret_df = df
562562
else:
563-
ret_df = pd.concat([ret_df,df])
563+
ret_df = pd.concat([ret_df, df])
564564
return ret_df
565565

566566
def get_valid_feature_range(self, normalized=False):

dice_ml/explainer_interfaces/dice_random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class of query_instance for binary classification.
122122
if cfs_df is None:
123123
cfs_df = rows_to_add.copy()
124124
else:
125-
cfs_df = pd.concat([cfs_df,rows_to_add])
125+
cfs_df = pd.concat([cfs_df, rows_to_add])
126126
cfs_df.drop_duplicates(inplace=True)
127127
# Always change at least 2 features before stopping
128128
if num_features_to_vary >= 2 and len(cfs_df) >= total_CFs:

0 commit comments

Comments
 (0)