Spaces:
Sleeping
Sleeping
juanmartip95
commited on
Commit
•
89e78f2
1
Parent(s):
bb08294
Update utils.py
Browse files
utils.py
CHANGED
@@ -33,6 +33,7 @@ def load_and_preprocess_data():
|
|
33 |
# Change customer id to int
|
34 |
df["User-ID"] = df["User-ID"].astype(int)
|
35 |
df_users["Age"] = df_users["Age"].astype(int)
|
|
|
36 |
|
37 |
# Add price column
|
38 |
#df["Price"] = df["Quantity"] * df["UnitPrice"]
|
|
|
33 |
# Change customer id to int
|
34 |
df["User-ID"] = df["User-ID"].astype(int)
|
35 |
df_users["Age"] = df_users["Age"].astype(int)
|
36 |
+
df_books["Year-Of-Publication"] = df_books["Year-Of-Publication"].astype(int)
|
37 |
|
38 |
# Add price column
|
39 |
#df["Price"] = df["Quantity"] * df["UnitPrice"]
|