Created
November 16, 2020 12:17
-
-
Save tanpengshi/f2f505b133d9c0ac374fb34f5eada682 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X_train_matrix = pd.pivot_table(X_train,values='user_score',index='user_id',columns='product_id') | |
X_train_matrix = X_train_matrix.fillna(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment