pls work
Browse files
app.py
CHANGED
@@ -13,13 +13,13 @@ def download_data():
|
|
13 |
print("Logging it")
|
14 |
project = hopsworks.login()
|
15 |
print("Getting feature store")
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
# upcoming['date'] = pd.to_datetime(upcoming['date'])
|
24 |
# upcoming = upcoming[upcoming['date'] > datetime.now()]
|
25 |
|
|
|
13 |
print("Logging it")
|
14 |
project = hopsworks.login()
|
15 |
print("Getting feature store")
|
16 |
+
fs = project.get_feature_store()
|
17 |
+
print("Getting feature group")
|
18 |
+
fg = fs.get_feature_group("fg_football", version=2)
|
19 |
+
print("Creating query")
|
20 |
+
query = fg.select_all()
|
21 |
+
print("Executing query")
|
22 |
+
upcoming = query.show(10)
|
23 |
# upcoming['date'] = pd.to_datetime(upcoming['date'])
|
24 |
# upcoming = upcoming[upcoming['date'] > datetime.now()]
|
25 |
|