Spaces:
Sleeping
Sleeping
abdullahmeda
commited on
Commit
•
9d7b689
1
Parent(s):
2ac2136
app.py
CHANGED
@@ -3,10 +3,10 @@ from cw2 import *
|
|
3 |
|
4 |
data_tiny = pd.read_json('datasets/sample_tiny.json', lines=True)
|
5 |
data_small = pd.read_json('datasets/sample_small.json', lines=True)
|
6 |
-
data_100k_lines = pd.read_json('datasets/sample_100k_lines.json', lines=True)
|
7 |
-
data_400k_lines = pd.read_json('datasets/sample_400k_lines.json', lines=True)
|
8 |
|
9 |
-
for dataset in [data_tiny, data_small
|
10 |
dataset['visitor_continent'] = dataset['visitor_country'].apply(country_code_to_continent)
|
11 |
|
12 |
|
|
|
3 |
|
4 |
data_tiny = pd.read_json('datasets/sample_tiny.json', lines=True)
|
5 |
data_small = pd.read_json('datasets/sample_small.json', lines=True)
|
6 |
+
# data_100k_lines = pd.read_json('datasets/sample_100k_lines.json', lines=True)
|
7 |
+
# data_400k_lines = pd.read_json('datasets/sample_400k_lines.json', lines=True)
|
8 |
|
9 |
+
for dataset in [data_tiny, data_small]:#, data_100k_lines, data_400k_lines]:
|
10 |
dataset['visitor_continent'] = dataset['visitor_country'].apply(country_code_to_continent)
|
11 |
|
12 |
|