{
  "id": 404815,
  "title": "Unable to submit forecast results",
  "url": "/competitions/predict-student-performance-from-game-play/discussion/404815",
  "author_name": "",
  "post_date": "2023-04-25T03:22:40.293164600Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Can someone show me how to debug</p>\n<pre><code> (sample_submission, test)  iter_test:\n\n        session_id = test.session_id.values[]\n        grp = test.level_group.values[]\n        a,b = limits[grp]\n</code></pre>\n<p>AttributeError: 'DataFrame' object has no attribute 'level_group'</p>",
  "messages": [
    {
      "id": "2234232",
      "postDate": "04/25/2023 03:22:40",
      "content": "<p>Can someone show me how to debug</p>\n<pre><code> (sample_submission, test)  iter_test:\n\n        session_id = test.session_id.values[]\n        grp = test.level_group.values[]\n        a,b = limits[grp]\n</code></pre>\n<p>AttributeError: 'DataFrame' object has no attribute 'level_group'</p>",
      "rawMarkdown": "Can someone show me how to debug\n```python\n\nfor (sample_submission, test) in iter_test:\n        \n        session_id = test.session_id.values[0]\n        grp = test.level_group.values[0]\n        a,b = limits[grp]\n\n```\nAttributeError: 'DataFrame' object has no attribute 'level_group'",
      "votes": null
    },
    {
      "id": "2234630",
      "postDate": "04/25/2023 11:18:43",
      "content": "<p>you should swap <code>sample_submission,test</code> to become:</p>\n<p><code>for test, sample_submission in iter_test:</code></p>",
      "rawMarkdown": "you should swap `sample_submission,test` to become:\n\n`for test, sample_submission in iter_test:`",
      "votes": null
    },
    {
      "id": "2237914",
      "postDate": "04/28/2023 04:25:10",
      "content": "<p>Thank you very much!!!My problem has been solved.</p>",
      "rawMarkdown": "Thank you very much!!!My problem has been solved.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2234630,
      "author_name": "ngocuong",
      "author_url": "",
      "post_date": "04/25/2023 11:18:43",
      "content": "<p>you should swap <code>sample_submission,test</code> to become:</p>\n<p><code>for test, sample_submission in iter_test:</code></p>",
      "votes": null,
      "replies": [
        {
          "id": 2237914,
          "author_name": "lindongli",
          "author_url": "",
          "post_date": "04/28/2023 04:25:10",
          "content": "<p>Thank you very much!!!My problem has been solved.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2234232": "Can someone show me how to debug\n```python\n\nfor (sample_submission, test) in iter_test:\n        \n        session_id = test.session_id.values[0]\n        grp = test.level_group.values[0]\n        a,b = limits[grp]\n\n```\nAttributeError: 'DataFrame' object has no attribute 'level_group'",
    "2234630": "you should swap `sample_submission,test` to become:\n\n`for test, sample_submission in iter_test:`",
    "2237914": "Thank you very much!!!My problem has been solved."
  },
  "source": "meta"
}