Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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
|
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 |
|