Created
July 17, 2017 11:11
-
-
Save zhangpengGenedock/5478ff4b994ec39c031b4f9049abbfd7 to your computer and use it in GitHub Desktop.
process data for kaggle
This file contains hidden or 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
test_file = 'test.csv' | |
test_data = pd.read_csv(test_file) | |
predictions = predictions_3(test_data) | |
result = open('result.csv', 'w') | |
for item in predictions: | |
result.write("%s\n" % item) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment