{
  "id": 394308,
  "title": "How to make a proper submission?",
  "url": "/competitions/predict-student-performance-from-game-play/discussion/394308",
  "author_name": "",
  "post_date": "2023-03-13T03:14:55.529777200Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I am new to kaggle and lack of knowledge of submission. After computing my results, I can not save it by <code>result.to_csv('submission.csv')</code> and I was informed an error <code>PermissionError: [Errno 1] Operation not permitted: 'submission.csv'</code>. Did anyone encounter the same problem? How could I fix it?</p>",
  "messages": [
    {
      "id": "2179223",
      "postDate": "03/13/2023 03:14:55",
      "content": "<p>I am new to kaggle and lack of knowledge of submission. After computing my results, I can not save it by <code>result.to_csv('submission.csv')</code> and I was informed an error <code>PermissionError: [Errno 1] Operation not permitted: 'submission.csv'</code>. Did anyone encounter the same problem? How could I fix it?</p>",
      "rawMarkdown": "I am new to kaggle and lack of knowledge of submission. After computing my results, I can not save it by `result.to_csv('submission.csv')` and I was informed an error `PermissionError: [Errno 1] Operation not permitted: 'submission.csv'`. Did anyone encounter the same problem? How could I fix it?",
      "votes": null
    },
    {
      "id": "2179264",
      "postDate": "03/13/2023 04:10:35",
      "content": "<p>Since this competition uses Kaggle submit API, we cannot modify the file submission.csv on disk. Instead we call <code>env.predict(sample_submission)</code>. See the sample notebook <a href=\"https://www.kaggle.com/code/philculliton/basic-submission-demo\" target=\"_blank\">here</a></p>",
      "rawMarkdown": "Since this competition uses Kaggle submit API, we cannot modify the file submission.csv on disk. Instead we call `env.predict(sample_submission)`. See the sample notebook [here][1]\n\n[1]: https://www.kaggle.com/code/philculliton/basic-submission-demo",
      "votes": null
    },
    {
      "id": "2232209",
      "postDate": "04/24/2023 05:47:43",
      "content": "<p>I followed the code from the notebook exactly but when I submit it still pops up a submission score error:<br>\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips</p>",
      "rawMarkdown": "I followed the code from the notebook exactly but when I submit it still pops up a submission score error:\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2179264,
      "author_name": "cdeotte",
      "author_url": "",
      "post_date": "03/13/2023 04:10:35",
      "content": "<p>Since this competition uses Kaggle submit API, we cannot modify the file submission.csv on disk. Instead we call <code>env.predict(sample_submission)</code>. See the sample notebook <a href=\"https://www.kaggle.com/code/philculliton/basic-submission-demo\" target=\"_blank\">here</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 2232209,
          "author_name": "nicholasleong92",
          "author_url": "",
          "post_date": "04/24/2023 05:47:43",
          "content": "<p>I followed the code from the notebook exactly but when I submit it still pops up a submission score error:<br>\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2179223": "I am new to kaggle and lack of knowledge of submission. After computing my results, I can not save it by `result.to_csv('submission.csv')` and I was informed an error `PermissionError: [Errno 1] Operation not permitted: 'submission.csv'`. Did anyone encounter the same problem? How could I fix it?",
    "2179264": "Since this competition uses Kaggle submit API, we cannot modify the file submission.csv on disk. Instead we call `env.predict(sample_submission)`. See the sample notebook [here][1]\n\n[1]: https://www.kaggle.com/code/philculliton/basic-submission-demo",
    "2232209": "I followed the code from the notebook exactly but when I submit it still pops up a submission score error:\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips"
  },
  "source": "meta"
}