{
  "id": 447455,
  "title": "submission Help",
  "url": "/competitions/UBC-OCEAN/discussion/447455",
  "author_name": "Hugo Baca",
  "post_date": "2023-10-16T00:52:01.875000",
  "votes": 2,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hello, </p>\n<p>I am getting an error. \"Your notebook generated a submission file with incorrect format.\" </p>\n<p>Any help would be greatly appreciated. I am not sure what to include in the submission.csv</p>",
  "messages": [
    {
      "id": 2484544,
      "postDate": "2023-10-16T14:59:41.623Z",
      "content": "<p>Hey.<br>\nJust make sure it has the same format as the sample_submission.csv . Maybe you saved your submission with pd.to_csv(\"…\")? Then you need to define index=False, like so: pd.to_csv(\"…\", index=False).<br>\nWithout it, Pandas will save an index number as the first row.</p>",
      "rawMarkdown": "Hey.\nJust make sure it has the same format as the sample_submission.csv . Maybe you saved your submission with pd.to_csv(\"...\")? Then you need to define index=False, like so: pd.to_csv(\"...\", index=False).\nWithout it, Pandas will save an index number as the first row.",
      "votes": 2,
      "replies": [
        {
          "id": 2484629,
          "postDate": "2023-10-16T15:46:30.223Z",
          "content": "<p>ahh, okay. I will try this. Thank you!</p>",
          "rawMarkdown": "ahh, okay. I will try this. Thank you!"
        }
      ]
    },
    {
      "id": 2483755,
      "postDate": "2023-10-16T00:52:01.877Z",
      "content": "<p>Hello, </p>\n<p>I am getting an error. \"Your notebook generated a submission file with incorrect format.\" </p>\n<p>Any help would be greatly appreciated. I am not sure what to include in the submission.csv</p>",
      "rawMarkdown": "Hello, \n\nI am getting an error. \"Your notebook generated a submission file with incorrect format.\" \n\nAny help would be greatly appreciated. I am not sure what to include in the submission.csv",
      "votes": 2
    }
  ],
  "comments": [
    {
      "id": 2484544,
      "author_name": "Manuel K",
      "author_url": "",
      "post_date": "2023-10-16T14:59:41.623000",
      "content": "<p>Hey.<br>\nJust make sure it has the same format as the sample_submission.csv . Maybe you saved your submission with pd.to_csv(\"…\")? Then you need to define index=False, like so: pd.to_csv(\"…\", index=False).<br>\nWithout it, Pandas will save an index number as the first row.</p>",
      "votes": 2,
      "replies": [
        {
          "id": 2484629,
          "author_name": "Hugo Baca",
          "author_url": "",
          "post_date": "2023-10-16T15:46:30.223000",
          "content": "<p>ahh, okay. I will try this. Thank you!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2484544": "Hey.\nJust make sure it has the same format as the sample_submission.csv . Maybe you saved your submission with pd.to_csv(\"...\")? Then you need to define index=False, like so: pd.to_csv(\"...\", index=False).\nWithout it, Pandas will save an index number as the first row.",
    "2483755": "Hello, \n\nI am getting an error. \"Your notebook generated a submission file with incorrect format.\" \n\nAny help would be greatly appreciated. I am not sure what to include in the submission.csv"
  }
}