Datasets:
thaina.saraiva commited on
Commit ·
7d4b475
1
Parent(s): 26db6ea
change download
Browse files
example/download_dataset.py
CHANGED
|
@@ -1,12 +1,29 @@
|
|
| 1 |
from datasets import load_dataset
|
| 2 |
import pandas as pd
|
| 3 |
|
|
|
|
| 4 |
measurements_by_cell = load_dataset('CelfAI/COOPER','measurements_by_cell')
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
|
|
|
|
| 1 |
from datasets import load_dataset
|
| 2 |
import pandas as pd
|
| 3 |
|
| 4 |
+
### Measurements by cell ###
|
| 5 |
measurements_by_cell = load_dataset('CelfAI/COOPER','measurements_by_cell')
|
| 6 |
|
| 7 |
+
measurements_by_cell_data_train = measurements_by_cell['train'].to_pandas()
|
| 8 |
+
measurements_by_cell_data_test = measurements_by_cell['test'].to_pandas()
|
| 9 |
+
measurements_by_cell_data = pd.concat([measurements_by_cell_data_train, measurements_by_cell_data_test])
|
| 10 |
+
|
| 11 |
+
### Topology ###
|
| 12 |
+
topology = load_dataset('CelfAI/COOPER','topology')
|
| 13 |
+
topology_data = topology['main'].to_pandas()
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
#### Join Measurements by cell and Topology ###
|
| 17 |
+
all_data = pd.merge(measurements_by_cell_data, topology_data, on='LocalCellName', how='left')
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
### Performance indicators meanings ###
|
| 21 |
+
performance_indicators_meanings = load_dataset('CelfAI/COOPER','performance_indicators_meanings')
|
| 22 |
+
performance_indicators_meanings_data = performance_indicators_meanings['main'].to_pandas()
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
|
| 29 |
|
metadata/performance_indicators_meanings.csv
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2d69f313e223e675516f12b38072e3295c6d5fe82a821a8010897abd5c83869
|
| 3 |
+
size 18720
|