predictions = model.predict(...)
submission = pd.DataFrame({'positive':predictions}) submission.to_csv('predictions', index=False)