lunarflu HF staff commited on
Commit
5e46135
·
verified ·
1 Parent(s): 1080060

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -360,7 +360,7 @@ with demo:
360
  column_values_unique = sorted(dataframe1.iloc[:, 3].unique())
361
  dataframe2 = pd.DataFrame({'Levels': column_values_unique})
362
  counts = {}
363
- for value in data.iloc[:, 3]:
364
  counts[value] = counts.get(value, 0) + 1
365
  dataframe2['Members'] = dataframe2['Levels'].map(counts)
366
 
 
360
  column_values_unique = sorted(dataframe1.iloc[:, 3].unique())
361
  dataframe2 = pd.DataFrame({'Levels': column_values_unique})
362
  counts = {}
363
+ for value in dataframe1.iloc[:, 3]:
364
  counts[value] = counts.get(value, 0) + 1
365
  dataframe2['Members'] = dataframe2['Levels'].map(counts)
366