VJyzCELERY
commited on
Commit
·
4223bb0
1
Parent(s):
35fede9
Changed ids into string for raw df games and fixed the wrong column in df games
Browse files
app.py
CHANGED
|
@@ -71,8 +71,9 @@ selectable_app_ids = list(model.collaborative_recommender.item_to_index.keys())
|
|
| 71 |
# df_user_pref = pd.read_csv(USER_PREFERENCE_DATAPATH,index_col=False)
|
| 72 |
|
| 73 |
df_games = GAMES_DS['train'].to_pandas()
|
| 74 |
-
df_games['
|
| 75 |
df_games_raw = RAW_GAMES_DS['train'].to_pandas()
|
|
|
|
| 76 |
df_review_raw = REVIEWS_DS['train'].to_pandas()
|
| 77 |
df_review_raw['app_id'] = df_review_raw['app_id'].astype(str)
|
| 78 |
df_review_raw['steamid'] = df_review_raw['steamid'].astype(str)
|
|
|
|
| 71 |
# df_user_pref = pd.read_csv(USER_PREFERENCE_DATAPATH,index_col=False)
|
| 72 |
|
| 73 |
df_games = GAMES_DS['train'].to_pandas()
|
| 74 |
+
df_games['app_id'] = df_games['app_id'].astype(str)
|
| 75 |
df_games_raw = RAW_GAMES_DS['train'].to_pandas()
|
| 76 |
+
df_games_raw['AppID'] = df_games_raw['AppID'].astype(str)
|
| 77 |
df_review_raw = REVIEWS_DS['train'].to_pandas()
|
| 78 |
df_review_raw['app_id'] = df_review_raw['app_id'].astype(str)
|
| 79 |
df_review_raw['steamid'] = df_review_raw['steamid'].astype(str)
|