Petr Tsvetkov commited on
Commit
9e1ff19
β€’
1 Parent(s): 39950c9

Fix the bug

Browse files
Files changed (1) hide show
  1. analysis_util.py +3 -3
analysis_util.py CHANGED
@@ -5,9 +5,9 @@ import pandas as pd
5
 
6
 
7
  def correlations_for_group(group):
8
- REL_METRICS = [col.split("_")[0] for col in group.colmns if col.endswith("_related")]
9
- IND_METRICS = [col.split("_")[0] for col in group.colmns if col.endswith("_independent")]
10
- AGGR_METRICS = [col.split("_")[0] for col in group.colmns if col.endswith("_aggr")]
11
 
12
  correlations = []
13
  for rel_metric in REL_METRICS:
 
5
 
6
 
7
  def correlations_for_group(group):
8
+ REL_METRICS = [col.split("_")[0] for col in group.columns if col.endswith("_related")]
9
+ IND_METRICS = [col.split("_")[0] for col in group.columns if col.endswith("_independent")]
10
+ AGGR_METRICS = [col.split("_")[0] for col in group.columns if col.endswith("_aggr")]
11
 
12
  correlations = []
13
  for rel_metric in REL_METRICS: