Created
March 6, 2019 19:03
-
-
Save prateekjoshi565/9d5c61171aa38ae7a935c3c55356680d to your computer and use it in GitHub Desktop.
create submission
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
# prepare submission dataframe | |
sub = pd.DataFrame({'id':test['id'], 'label':preds_test}) | |
# write predictions to a CSV file | |
sub.to_csv("sub_lreg.csv", index=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment