{
  "id": 177870,
  "title": "How to submit?",
  "url": "/competitions/osic-pulmonary-fibrosis-progression/discussion/177870",
  "author_name": "",
  "post_date": "2020-08-27T16:35:42.021342600Z",
  "votes": null,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Hi <a href=\"https://www.kaggle.com/all\" target=\"_blank\">@all</a></p>\n<p>This is my first competition.<br>\nSo where do I have to save my 'submission.csv' ?<br>\nWhich directory?</p>\n<p>submission.to_csv('submission.csv') didnt work.</p>\n<p>best regards <br>\nFred</p>",
  "messages": [
    {
      "id": "987948",
      "postDate": "08/27/2020 16:35:42",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/all\" target=\"_blank\">@all</a></p>\n<p>This is my first competition.<br>\nSo where do I have to save my 'submission.csv' ?<br>\nWhich directory?</p>\n<p>submission.to_csv('submission.csv') didnt work.</p>\n<p>best regards <br>\nFred</p>",
      "rawMarkdown": "Hi @all\n\nThis is my first competition.\nSo where do I have to save my 'submission.csv' ?\nWhich directory?\n\nsubmission.to_csv('submission.csv') didnt work.\n\n\nbest regards \nFred",
      "votes": null
    },
    {
      "id": "987954",
      "postDate": "08/27/2020 16:41:57",
      "content": "<p>It needs to be in the default working directory (which is <code>/kaggle/working/</code>), but note that you probably need an <code>, index = False</code> for it to score.</p>",
      "rawMarkdown": "It needs to be in the default working directory (which is `/kaggle/working/`), but note that you probably need an `, index = False` for it to score.",
      "votes": null
    },
    {
      "id": "987968",
      "postDate": "08/27/2020 16:56:22",
      "content": "<p>Try submission.to_csv('submission.csv',index=False).That works.</p>",
      "rawMarkdown": "Try submission.to_csv('submission.csv',index=False).That works.",
      "votes": null
    },
    {
      "id": "987993",
      "postDate": "08/27/2020 17:19:23",
      "content": "<p>You can't just make a submission file in kaggle and expect that to be automatically evaluated.</p>\n<p>After you run this submission.to_csv('submission.csv',index=False)<br>\nSee this attachment photo below. Go to the data column in the right side of the notebook and then click output -&gt; open /kaggle/working and then download the csv file and then submit predictions on the competitions page</p>\n<p>Pls upvote if it helped!</p>",
      "rawMarkdown": "You can't just make a submission file in kaggle and expect that to be automatically evaluated.\n\nAfter you run this submission.to_csv('submission.csv',index=False)\nSee this attachment photo below. Go to the data column in the right side of the notebook and then click output -> open /kaggle/working and then download the csv file and then submit predictions on the competitions page\n\nPls upvote if it helped!",
      "votes": null
    },
    {
      "id": "988197",
      "postDate": "08/27/2020 21:15:30",
      "content": "<p>I used this code<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2F5883535795e866ebda9c1091ba0b5137%2Fscreenshot2.png?generation=1598562777600358&amp;alt=media\" alt=\"\"></p>\n<p>Now I can save it in the directory</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2Ff347d56b4d2dd86111762393025ef1f9%2Fscreenshot1.png?generation=1598562902924910&amp;alt=media\" alt=\"\"></p>\n<p>, but I have no option to submit a prediction<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2Fd19d66c92c45b136d7dd228d68969f82%2Fscreenshot3.png?generation=1598562927259147&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "I used this code\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2F5883535795e866ebda9c1091ba0b5137%2Fscreenshot2.png?generation=1598562777600358&alt=media)\n\nNow I can save it in the directory\n\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2Ff347d56b4d2dd86111762393025ef1f9%2Fscreenshot1.png?generation=1598562902924910&alt=media)\n\n, but I have no option to submit a prediction\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2Fd19d66c92c45b136d7dd228d68969f82%2Fscreenshot3.png?generation=1598562927259147&alt=media)",
      "votes": null
    },
    {
      "id": "988908",
      "postDate": "08/28/2020 11:55:43",
      "content": "<p><a href=\"https://www.kaggle.com/fkarchdd\" target=\"_blank\">@fkarchdd</a> When you click <code>Save Version</code> while in draft mode did you select <code>Quick Save</code> or <code>Save &amp; Run All (Commit)</code>?. If you did <code>Quick Save</code> then none of the output files get saved unless you change it in advance options.</p>",
      "rawMarkdown": "fkarchdd When you click `Save Version` while in draft mode did you select `Quick Save` or `Save & Run All (Commit)`?. If you did `Quick Save` then none of the output files get saved unless you change it in advance options.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 987954,
      "author_name": "wcukierski",
      "author_url": "",
      "post_date": "08/27/2020 16:41:57",
      "content": "<p>It needs to be in the default working directory (which is <code>/kaggle/working/</code>), but note that you probably need an <code>, index = False</code> for it to score.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 987968,
      "author_name": "vineeth1999",
      "author_url": "",
      "post_date": "08/27/2020 16:56:22",
      "content": "<p>Try submission.to_csv('submission.csv',index=False).That works.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 987993,
      "author_name": "oneplustricks",
      "author_url": "",
      "post_date": "08/27/2020 17:19:23",
      "content": "<p>You can't just make a submission file in kaggle and expect that to be automatically evaluated.</p>\n<p>After you run this submission.to_csv('submission.csv',index=False)<br>\nSee this attachment photo below. Go to the data column in the right side of the notebook and then click output -&gt; open /kaggle/working and then download the csv file and then submit predictions on the competitions page</p>\n<p>Pls upvote if it helped!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 988197,
      "author_name": "fkarchdd",
      "author_url": "",
      "post_date": "08/27/2020 21:15:30",
      "content": "<p>I used this code<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2F5883535795e866ebda9c1091ba0b5137%2Fscreenshot2.png?generation=1598562777600358&amp;alt=media\" alt=\"\"></p>\n<p>Now I can save it in the directory</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2Ff347d56b4d2dd86111762393025ef1f9%2Fscreenshot1.png?generation=1598562902924910&amp;alt=media\" alt=\"\"></p>\n<p>, but I have no option to submit a prediction<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2Fd19d66c92c45b136d7dd228d68969f82%2Fscreenshot3.png?generation=1598562927259147&amp;alt=media\" alt=\"\"></p>",
      "votes": null,
      "replies": [
        {
          "id": 988908,
          "author_name": "yovinyahathugoda",
          "author_url": "",
          "post_date": "08/28/2020 11:55:43",
          "content": "<p><a href=\"https://www.kaggle.com/fkarchdd\" target=\"_blank\">@fkarchdd</a> When you click <code>Save Version</code> while in draft mode did you select <code>Quick Save</code> or <code>Save &amp; Run All (Commit)</code>?. If you did <code>Quick Save</code> then none of the output files get saved unless you change it in advance options.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "987948": "Hi @all\n\nThis is my first competition.\nSo where do I have to save my 'submission.csv' ?\nWhich directory?\n\nsubmission.to_csv('submission.csv') didnt work.\n\n\nbest regards \nFred",
    "987954": "It needs to be in the default working directory (which is `/kaggle/working/`), but note that you probably need an `, index = False` for it to score.",
    "987968": "Try submission.to_csv('submission.csv',index=False).That works.",
    "987993": "You can't just make a submission file in kaggle and expect that to be automatically evaluated.\n\nAfter you run this submission.to_csv('submission.csv',index=False)\nSee this attachment photo below. Go to the data column in the right side of the notebook and then click output -> open /kaggle/working and then download the csv file and then submit predictions on the competitions page\n\nPls upvote if it helped!",
    "988197": "I used this code\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2F5883535795e866ebda9c1091ba0b5137%2Fscreenshot2.png?generation=1598562777600358&alt=media)\n\nNow I can save it in the directory\n\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2Ff347d56b4d2dd86111762393025ef1f9%2Fscreenshot1.png?generation=1598562902924910&alt=media)\n\n, but I have no option to submit a prediction\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F3610726%2Fd19d66c92c45b136d7dd228d68969f82%2Fscreenshot3.png?generation=1598562927259147&alt=media)",
    "988908": "fkarchdd When you click `Save Version` while in draft mode did you select `Quick Save` or `Save & Run All (Commit)`?. If you did `Quick Save` then none of the output files get saved unless you change it in advance options."
  },
  "source": "meta"
}