Skip to content

Instantly share code, notes, and snippets.

@zhangpengGenedock
Created July 17, 2017 11:11
Show Gist options
  • Save zhangpengGenedock/5478ff4b994ec39c031b4f9049abbfd7 to your computer and use it in GitHub Desktop.
Save zhangpengGenedock/5478ff4b994ec39c031b4f9049abbfd7 to your computer and use it in GitHub Desktop.
process data for kaggle
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