Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import math
|
|
6 |
import datasets
|
7 |
|
8 |
|
9 |
-
data = datasets.load_dataset("cmudrc/truss-design-
|
10 |
|
11 |
def how_many_designs(team: int, participant: int):
|
12 |
n = len(numpy.unique(data[(data['Team'] == team) & (data['Participant'] == participant)]['Design']))
|
|
|
6 |
import datasets
|
7 |
|
8 |
|
9 |
+
data = datasets.load_dataset("cmudrc/truss-design-study", data_files="1-s2.0-S2352340918302014-mmc2.csv")["train"].to_pandas()
|
10 |
|
11 |
def how_many_designs(team: int, participant: int):
|
12 |
n = len(numpy.unique(data[(data['Team'] == team) & (data['Participant'] == participant)]['Design']))
|