{
  "id": 549235,
  "title": "Submission format error",
  "url": "/competitions/jane-street-real-time-market-data-forecasting/discussion/549235",
  "author_name": "",
  "post_date": "2024-12-01T11:40:10.116015700Z",
  "votes": 1,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Hi, super basic question here .</p>\n<p>I've tried to submit a basic dataframe with 0.07 in it as test like so up to row 38:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2F4581f176cd600829b685776bb6b35474%2FScreenshot%202024-12-01%20at%2012.14.53.png?generation=1733055421723833&amp;alt=media\" alt=\"\"></p>\n<p>I have a submission format error.<br>\nI ve added a line to save the data frame as 'submission.parquet' ( it appears in the kaggle/working directory)<br>\nI also have a submission format error.</p>\n<p>Anything I'm missing ?<br>\nThanks a lot!<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2Fc46ef6774f2475219b507d053ee11fdc%2FScreenshot%202024-12-01%20at%2012.23.24.png?generation=1733055828269796&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": "3060069",
      "postDate": "12/01/2024 11:40:10",
      "content": "<p>Hi, super basic question here .</p>\n<p>I've tried to submit a basic dataframe with 0.07 in it as test like so up to row 38:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2F4581f176cd600829b685776bb6b35474%2FScreenshot%202024-12-01%20at%2012.14.53.png?generation=1733055421723833&amp;alt=media\" alt=\"\"></p>\n<p>I have a submission format error.<br>\nI ve added a line to save the data frame as 'submission.parquet' ( it appears in the kaggle/working directory)<br>\nI also have a submission format error.</p>\n<p>Anything I'm missing ?<br>\nThanks a lot!<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2Fc46ef6774f2475219b507d053ee11fdc%2FScreenshot%202024-12-01%20at%2012.23.24.png?generation=1733055828269796&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Hi, super basic question here .\n\nI've tried to submit a basic dataframe with 0.07 in it as test like so up to row 38:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2F4581f176cd600829b685776bb6b35474%2FScreenshot%202024-12-01%20at%2012.14.53.png?generation=1733055421723833&alt=media)\n\n\nI have a submission format error.\nI ve added a line to save the data frame as 'submission.parquet' ( it appears in the kaggle/working directory)\nI also have a submission format error.\n\nAnything I'm missing ?\nThanks a lot!\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2Fc46ef6774f2475219b507d053ee11fdc%2FScreenshot%202024-12-01%20at%2012.23.24.png?generation=1733055828269796&alt=media)",
      "votes": null
    },
    {
      "id": "3060481",
      "postDate": "12/01/2024 18:59:57",
      "content": "<p>Maybe size it based on the length 'test' up front, instead of validating it at the end? I would make sure it can handle any size of 'test' input.</p>\n<pre><code>leresult = pd(index=np((test)), =[])\n</code></pre>\n<p>Also I think <code>submission.parquet</code> is created for you, you just need to return the predictions.</p>",
      "rawMarkdown": "Maybe size it based on the length 'test' up front, instead of validating it at the end? I would make sure it can handle any size of 'test' input.\n\n```\nleresult = pd.DataFrame(index=np.arange(len(test)), columns=['responder_6'])\n```\n\nAlso I think `submission.parquet` is created for you, you just need to return the predictions.",
      "votes": null
    },
    {
      "id": "3065151",
      "postDate": "12/06/2024 12:37:54",
      "content": "<p>I'm having the same issue. Were you able to figure it out?</p>",
      "rawMarkdown": "I'm having the same issue. Were you able to figure it out?",
      "votes": null
    },
    {
      "id": "3067557",
      "postDate": "12/09/2024 12:06:34",
      "content": "<p>no. must be simple. not sure what's wrong.</p>",
      "rawMarkdown": "no. must be simple. not sure what's wrong.",
      "votes": null
    },
    {
      "id": "3075879",
      "postDate": "12/19/2024 11:27:25",
      "content": "<p>good point</p>",
      "rawMarkdown": "good point",
      "votes": null
    },
    {
      "id": "3075882",
      "postDate": "12/19/2024 11:30:59",
      "content": "<p>sems also that sending a Polars dataframeworks better than a pandas dataframe</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2Fc0e326b5f66459b59a867ce6fed4fa6c%2FCapture.PNG?generation=1734607843339505&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "sems also that sending a Polars dataframeworks better than a pandas dataframe\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2Fc0e326b5f66459b59a867ce6fed4fa6c%2FCapture.PNG?generation=1734607843339505&alt=media)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3060481,
      "author_name": "jimbeno",
      "author_url": "",
      "post_date": "12/01/2024 18:59:57",
      "content": "<p>Maybe size it based on the length 'test' up front, instead of validating it at the end? I would make sure it can handle any size of 'test' input.</p>\n<pre><code>leresult = pd(index=np((test)), =[])\n</code></pre>\n<p>Also I think <code>submission.parquet</code> is created for you, you just need to return the predictions.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3075879,
          "author_name": "julienfron",
          "author_url": "",
          "post_date": "12/19/2024 11:27:25",
          "content": "<p>good point</p>",
          "votes": null,
          "replies": [
            {
              "id": 3075882,
              "author_name": "julienfron",
              "author_url": "",
              "post_date": "12/19/2024 11:30:59",
              "content": "<p>sems also that sending a Polars dataframeworks better than a pandas dataframe</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2Fc0e326b5f66459b59a867ce6fed4fa6c%2FCapture.PNG?generation=1734607843339505&amp;alt=media\" alt=\"\"></p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 3065151,
      "author_name": "jamesyun17",
      "author_url": "",
      "post_date": "12/06/2024 12:37:54",
      "content": "<p>I'm having the same issue. Were you able to figure it out?</p>",
      "votes": null,
      "replies": [
        {
          "id": 3067557,
          "author_name": "julienfron",
          "author_url": "",
          "post_date": "12/09/2024 12:06:34",
          "content": "<p>no. must be simple. not sure what's wrong.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3060069": "Hi, super basic question here .\n\nI've tried to submit a basic dataframe with 0.07 in it as test like so up to row 38:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2F4581f176cd600829b685776bb6b35474%2FScreenshot%202024-12-01%20at%2012.14.53.png?generation=1733055421723833&alt=media)\n\n\nI have a submission format error.\nI ve added a line to save the data frame as 'submission.parquet' ( it appears in the kaggle/working directory)\nI also have a submission format error.\n\nAnything I'm missing ?\nThanks a lot!\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2Fc46ef6774f2475219b507d053ee11fdc%2FScreenshot%202024-12-01%20at%2012.23.24.png?generation=1733055828269796&alt=media)",
    "3060481": "Maybe size it based on the length 'test' up front, instead of validating it at the end? I would make sure it can handle any size of 'test' input.\n\n```\nleresult = pd.DataFrame(index=np.arange(len(test)), columns=['responder_6'])\n```\n\nAlso I think `submission.parquet` is created for you, you just need to return the predictions.",
    "3065151": "I'm having the same issue. Were you able to figure it out?",
    "3067557": "no. must be simple. not sure what's wrong.",
    "3075879": "good point",
    "3075882": "sems also that sending a Polars dataframeworks better than a pandas dataframe\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1471538%2Fc0e326b5f66459b59a867ce6fed4fa6c%2FCapture.PNG?generation=1734607843339505&alt=media)"
  },
  "source": "meta"
}