{
  "id": 378786,
  "title": "Submission",
  "url": "/competitions/otto-recommender-system/discussion/378786",
  "author_name": "",
  "post_date": "2023-01-17T02:01:28.144160700Z",
  "votes": 1,
  "comment_count": 1,
  "views": 0,
  "content": "<p>submission['labels'] = pd.Series(R_estimated)<br>\nsubmission.head()</p>\n<p>Error - ValueError: Data must be 1-dimensional</p>\n<p>submission['labels'] = R_estimated<br>\nsubmission.head()</p>\n<p>Error : ValueError: Length of values (4) does not match length of index (5015409)</p>\n<p>R_estimated is in this form : <br>\n9.544021e+05  9.771092e+05  9.565786e+05  9.699678e+05  9.887993e+05  …   <br>\n2  1.659368e+09  1.659368e+09  1.659370e+09  1.659370e+09  1.659370e+09  …   <br>\n3  1.994222e-01  1.625799e-01  1.958929e-01  1.741683e-01  1.436144e-01  </p>",
  "messages": [
    {
      "id": "2103096",
      "postDate": "01/17/2023 02:01:28",
      "content": "<p>submission['labels'] = pd.Series(R_estimated)<br>\nsubmission.head()</p>\n<p>Error - ValueError: Data must be 1-dimensional</p>\n<p>submission['labels'] = R_estimated<br>\nsubmission.head()</p>\n<p>Error : ValueError: Length of values (4) does not match length of index (5015409)</p>\n<p>R_estimated is in this form : <br>\n9.544021e+05  9.771092e+05  9.565786e+05  9.699678e+05  9.887993e+05  …   <br>\n2  1.659368e+09  1.659368e+09  1.659370e+09  1.659370e+09  1.659370e+09  …   <br>\n3  1.994222e-01  1.625799e-01  1.958929e-01  1.741683e-01  1.436144e-01  </p>",
      "rawMarkdown": "submission['labels'] = pd.Series(R_estimated)\nsubmission.head()\n\nError - ValueError: Data must be 1-dimensional\n\n\n\nsubmission['labels'] = R_estimated\nsubmission.head()\n\nError : ValueError: Length of values (4) does not match length of index (5015409)\n\n\nR_estimated is in this form : \n9.544021e+05  9.771092e+05  9.565786e+05  9.699678e+05  9.887993e+05  ...   \n2  1.659368e+09  1.659368e+09  1.659370e+09  1.659370e+09  1.659370e+09  ...   \n3  1.994222e-01  1.625799e-01  1.958929e-01  1.741683e-01  1.436144e-01",
      "votes": null
    },
    {
      "id": "2107647",
      "postDate": "01/19/2023 23:32:51",
      "content": "<p>Your submission files contains 5015409 rows ( where each 1/3 corresponds to a specific type clicks/carts/orders).</p>\n<p>Your variable R_estimated does not fit the actual shape of your dataframe. Do not forget, that you need to pass a \"labels\" columns where each rows should be a string of candidates ( exemple : 92400 78500 3400 ) using a whitespace between each of them.</p>",
      "rawMarkdown": "Your submission files contains 5015409 rows ( where each 1/3 corresponds to a specific type clicks/carts/orders).\n\nYour variable R_estimated does not fit the actual shape of your dataframe. Do not forget, that you need to pass a \"labels\" columns where each rows should be a string of candidates ( exemple : 92400 78500 3400 ) using a whitespace between each of them.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2107647,
      "author_name": "rayanaay",
      "author_url": "",
      "post_date": "01/19/2023 23:32:51",
      "content": "<p>Your submission files contains 5015409 rows ( where each 1/3 corresponds to a specific type clicks/carts/orders).</p>\n<p>Your variable R_estimated does not fit the actual shape of your dataframe. Do not forget, that you need to pass a \"labels\" columns where each rows should be a string of candidates ( exemple : 92400 78500 3400 ) using a whitespace between each of them.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2103096": "submission['labels'] = pd.Series(R_estimated)\nsubmission.head()\n\nError - ValueError: Data must be 1-dimensional\n\n\n\nsubmission['labels'] = R_estimated\nsubmission.head()\n\nError : ValueError: Length of values (4) does not match length of index (5015409)\n\n\nR_estimated is in this form : \n9.544021e+05  9.771092e+05  9.565786e+05  9.699678e+05  9.887993e+05  ...   \n2  1.659368e+09  1.659368e+09  1.659370e+09  1.659370e+09  1.659370e+09  ...   \n3  1.994222e-01  1.625799e-01  1.958929e-01  1.741683e-01  1.436144e-01",
    "2107647": "Your submission files contains 5015409 rows ( where each 1/3 corresponds to a specific type clicks/carts/orders).\n\nYour variable R_estimated does not fit the actual shape of your dataframe. Do not forget, that you need to pass a \"labels\" columns where each rows should be a string of candidates ( exemple : 92400 78500 3400 ) using a whitespace between each of them."
  },
  "source": "meta"
}