James McCool commited on
Commit
66905e3
·
1 Parent(s): 20665ec

Remove unused import of gmean from app.py and predict_dupes.py for cleaner code and improved performance.

Browse files
Files changed (2) hide show
  1. app.py +0 -1
  2. global_func/predict_dupes.py +0 -1
app.py CHANGED
@@ -5,7 +5,6 @@ import pandas as pd
5
  import time
6
  from fuzzywuzzy import process
7
  import random
8
- from scipy.stats import gmean
9
 
10
  ## import global functions
11
  from global_func.clean_player_name import clean_player_name
 
5
  import time
6
  from fuzzywuzzy import process
7
  import random
 
8
 
9
  ## import global functions
10
  from global_func.clean_player_name import clean_player_name
global_func/predict_dupes.py CHANGED
@@ -3,7 +3,6 @@ import numpy as np
3
  import pandas as pd
4
  import time
5
  from fuzzywuzzy import process
6
- from scipy.stats import gmean
7
 
8
  def predict_dupes(portfolio, maps_dict, site_var, type_var, Contest_Size, strength_var):
9
  if strength_var == 'Weak':
 
3
  import pandas as pd
4
  import time
5
  from fuzzywuzzy import process
 
6
 
7
  def predict_dupes(portfolio, maps_dict, site_var, type_var, Contest_Size, strength_var):
8
  if strength_var == 'Weak':