{
  "id": 295635,
  "title": "What are variables for submissive.csv ?",
  "url": "/competitions/g-research-crypto-forecasting/discussion/295635",
  "author_name": "",
  "post_date": "2021-12-17T02:11:38.610673400Z",
  "votes": 3,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Hello Everyone,</p>\n<p>When I read Detailed API Introduction ( <a href=\"https://www.kaggle.com/sohier/detailed-api-introduction\" target=\"_blank\">https://www.kaggle.com/sohier/detailed-api-introduction</a> ) ,<br>\nfor submission file there are row_id and Target as variables.</p>\n<p>sample_prediction_df.head(3)</p>\n<p>row_id    Target<br>\n0       0          0.0<br>\n1       1          0.0<br>\n2       2          0.0</p>\n<p>However, in example_sample_submission which comes with data set, there are<br>\ngroup_num  row_id  Target as variables.</p>\n<p>group_num  row_id  Target<br>\n0          0       0       0<br>\n1          0       1       0<br>\n2          0       2       0<br>\n3          0       3       0<br>\n4          0       4       0</p>\n<p>Which one is supposed to be my guide ?</p>\n<p>What am I missing ?</p>\n<p>Thanks</p>",
  "messages": [
    {
      "id": "1620647",
      "postDate": "12/17/2021 02:11:38",
      "content": "<p>Hello Everyone,</p>\n<p>When I read Detailed API Introduction ( <a href=\"https://www.kaggle.com/sohier/detailed-api-introduction\" target=\"_blank\">https://www.kaggle.com/sohier/detailed-api-introduction</a> ) ,<br>\nfor submission file there are row_id and Target as variables.</p>\n<p>sample_prediction_df.head(3)</p>\n<p>row_id    Target<br>\n0       0          0.0<br>\n1       1          0.0<br>\n2       2          0.0</p>\n<p>However, in example_sample_submission which comes with data set, there are<br>\ngroup_num  row_id  Target as variables.</p>\n<p>group_num  row_id  Target<br>\n0          0       0       0<br>\n1          0       1       0<br>\n2          0       2       0<br>\n3          0       3       0<br>\n4          0       4       0</p>\n<p>Which one is supposed to be my guide ?</p>\n<p>What am I missing ?</p>\n<p>Thanks</p>",
      "rawMarkdown": "Hello Everyone,\n\nWhen I read Detailed API Introduction ( https://www.kaggle.com/sohier/detailed-api-introduction ) ,\nfor submission file there are row_id and Target as variables.\n\nsample_prediction_df.head(3)\n\nrow_id\tTarget\n0\t   0\t      0.0\n1\t   1\t      0.0\n2\t   2\t      0.0\n\nHowever, in example_sample_submission which comes with data set, there are\ngroup_num  row_id  Target as variables.\n\n\ngroup_num  row_id  Target\n0          0       0       0\n1          0       1       0\n2          0       2       0\n3          0       3       0\n4          0       4       0\n\n\nWhich one is supposed to be my guide ?\n\nWhat am I missing ?\n\nThanks",
      "votes": null
    },
    {
      "id": "1624947",
      "postDate": "12/21/2021 11:49:27",
      "content": "<p>I think this column exist for convenience.</p>\n<p>you can also find group_num columns  in example_test.csv.</p>\n<p>If you try </p>\n<p>import gresearch_crypto<br>\nenv = gresearch_crypto.make_env()   # initialize the environment<br>\niter_test = env.iter_test()</p>\n<p>and </p>\n<p>df=next(iter_test)<br>\nprint(df)</p>\n<p>for 4 times,</p>\n<p>you can find the values of timestamp columns are 623542400,1623542460,1623542520 and 1623542580,which is <br>\nexactly match with values of timestamp column.</p>",
      "rawMarkdown": "I think this column exist for convenience.\n\nyou can also find group_num columns  in example_test.csv.\n\nIf you try \n\nimport gresearch_crypto\nenv = gresearch_crypto.make_env()   # initialize the environment\niter_test = env.iter_test()\n\nand \n\ndf=next(iter_test)\nprint(df)\n\nfor 4 times,\n\nyou can find the values of timestamp columns are 623542400,1623542460,1623542520 and 1623542580,which is \nexactly match with values of timestamp column.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1624947,
      "author_name": "meisa0",
      "author_url": "",
      "post_date": "12/21/2021 11:49:27",
      "content": "<p>I think this column exist for convenience.</p>\n<p>you can also find group_num columns  in example_test.csv.</p>\n<p>If you try </p>\n<p>import gresearch_crypto<br>\nenv = gresearch_crypto.make_env()   # initialize the environment<br>\niter_test = env.iter_test()</p>\n<p>and </p>\n<p>df=next(iter_test)<br>\nprint(df)</p>\n<p>for 4 times,</p>\n<p>you can find the values of timestamp columns are 623542400,1623542460,1623542520 and 1623542580,which is <br>\nexactly match with values of timestamp column.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1620647": "Hello Everyone,\n\nWhen I read Detailed API Introduction ( https://www.kaggle.com/sohier/detailed-api-introduction ) ,\nfor submission file there are row_id and Target as variables.\n\nsample_prediction_df.head(3)\n\nrow_id\tTarget\n0\t   0\t      0.0\n1\t   1\t      0.0\n2\t   2\t      0.0\n\nHowever, in example_sample_submission which comes with data set, there are\ngroup_num  row_id  Target as variables.\n\n\ngroup_num  row_id  Target\n0          0       0       0\n1          0       1       0\n2          0       2       0\n3          0       3       0\n4          0       4       0\n\n\nWhich one is supposed to be my guide ?\n\nWhat am I missing ?\n\nThanks",
    "1624947": "I think this column exist for convenience.\n\nyou can also find group_num columns  in example_test.csv.\n\nIf you try \n\nimport gresearch_crypto\nenv = gresearch_crypto.make_env()   # initialize the environment\niter_test = env.iter_test()\n\nand \n\ndf=next(iter_test)\nprint(df)\n\nfor 4 times,\n\nyou can find the values of timestamp columns are 623542400,1623542460,1623542520 and 1623542580,which is \nexactly match with values of timestamp column."
  },
  "source": "meta"
}