Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -714,7 +714,7 @@ with demo:
|
|
714 |
column_values_unique = sorted(dataframe1.iloc[:, 3].unique())
|
715 |
dataframe2 = pd.DataFrame({'Levels': column_values_unique})
|
716 |
counts = {}
|
717 |
-
for value in
|
718 |
counts[value] = counts.get(value, 0) + 1
|
719 |
dataframe2['Members'] = dataframe2['Levels'].map(counts)
|
720 |
|
|
|
714 |
column_values_unique = sorted(dataframe1.iloc[:, 3].unique())
|
715 |
dataframe2 = pd.DataFrame({'Levels': column_values_unique})
|
716 |
counts = {}
|
717 |
+
for value in data.iloc[:, 3]:
|
718 |
counts[value] = counts.get(value, 0) + 1
|
719 |
dataframe2['Members'] = dataframe2['Levels'].map(counts)
|
720 |
|