Skip to content

Commit

Permalink
Update RFM.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bugravarol authored Mar 24, 2022
1 parent 82464ac commit 364088c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion RFM.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def outlier_thresholds(dataframe, variable):
low_limit = quartile1 - 1.5 * interquantile_range
return low_limit, up_limit


def replace_with_thresholds(dataframe, variable):
low_limit, up_limit = outlier_thresholds(dataframe, variable)
dataframe.loc[(dataframe[variable] < low_limit), variable] = low_limit
Expand Down

0 comments on commit 364088c

Please sign in to comment.