Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ def load_data():
|
|
17 |
|
18 |
from datasets import load_dataset
|
19 |
|
20 |
-
curves = load_dataset("cmudrc/wave-energy", data_files="curves.zip", split='train').to_pandas().drop(labels="index")
|
21 |
-
geometry = load_dataset("cmudrc/wave-energy", data_files="geometry.zip", split='train').to_pandas().drop(labels="index")
|
22 |
|
23 |
# Open all the files we downloaded at the beginning and take out hte good bits
|
24 |
# curves = data.iloc[:, [i for i in range(1, 3*64+1)]]
|
|
|
17 |
|
18 |
from datasets import load_dataset
|
19 |
|
20 |
+
curves = load_dataset("cmudrc/wave-energy", data_files="curves.zip", split='train').to_pandas().drop(labels="index", axis=1)
|
21 |
+
geometry = load_dataset("cmudrc/wave-energy", data_files="geometry.zip", split='train').to_pandas().drop(labels="index", axis=1)
|
22 |
|
23 |
# Open all the files we downloaded at the beginning and take out hte good bits
|
24 |
# curves = data.iloc[:, [i for i in range(1, 3*64+1)]]
|