{
  "id": 189472,
  "title": "The number of unique values in each column in train.csv",
  "url": "/competitions/riiid-test-answer-prediction/discussion/189472",
  "author_name": "",
  "post_date": "2020-10-07T17:31:24.518394Z",
  "votes": 10,
  "comment_count": 2,
  "views": 0,
  "content": "<p>There are 101,230,332 rows in \"train.csv\".</p>\n<ul>\n<li><p><code>row_id</code> has 101,230,332 unique values indeed.</p></li>\n<li><p><code>timestamp</code> has 72,821,015 unique values. That means some rows have same timestamps in common.</p></li>\n<li><p><code>user_id</code> has 393,656 unique values.</p></li>\n<li><p><code>content_id</code> has 13,782 unique values.</p></li>\n<li><p><code>content_type_id</code> consists of following values</p>\n<table>\n<thead>\n<tr>\n<th>value</th>\n<th>percentage</th>\n<th>count</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>98.1%</td>\n<td>99,271,300</td>\n</tr>\n<tr>\n<td>1</td>\n<td>1.9%</td>\n<td>1,959,032</td>\n</tr>\n</tbody>\n</table></li>\n<li><p><code>task_container_id</code> has 10,000 unique values from 0 to 9999.</p></li>\n<li><p><code>user_answer</code> consists of following values</p>\n<table>\n<thead>\n<tr>\n<th>value</th>\n<th>percentage</th>\n<th>count</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>-1</td>\n<td>-</td>\n<td>1,959,032</td>\n</tr>\n<tr>\n<td>0</td>\n<td>28.4%</td>\n<td>28,186,489</td>\n</tr>\n<tr>\n<td>1</td>\n<td>27.2%</td>\n<td>26,990,007</td>\n</tr>\n<tr>\n<td>2</td>\n<td>18.1%</td>\n<td>18,010,020</td>\n</tr>\n<tr>\n<td>3</td>\n<td>26.3%</td>\n<td>26,084,784</td>\n</tr>\n</tbody>\n</table>\n<p>Note: When a question has only 3 choices, they seem to be 0, 1, and 3</p></li>\n<li><p><code>answered_correctly</code> consists of following values</p>\n<table>\n<thead>\n<tr>\n<th>value</th>\n<th>percentage</th>\n<th>count</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>-1</td>\n<td>-</td>\n<td>1,959,032</td>\n</tr>\n<tr>\n<td>0</td>\n<td>34.3%</td>\n<td>34,026,673</td>\n</tr>\n<tr>\n<td>1</td>\n<td>65.7%</td>\n<td>65,244,627</td>\n</tr>\n</tbody>\n</table></li>\n<li><p><code>prior_question_elapsed_time</code> has 3258 unique values (less than I've imagined!) from 0 to 300,000.</p></li>\n<li><p><code>prior_question_had_explanation</code> consists of boolean values and null.</p>\n<table>\n<thead>\n<tr>\n<th>value</th>\n<th>percentage</th>\n<th>count</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>True</td>\n<td>88.9%</td>\n<td>89,685,560</td>\n</tr>\n<tr>\n<td>False</td>\n<td>11.1%</td>\n<td>11,152,266</td>\n</tr>\n<tr>\n<td>Null</td>\n<td>-</td>\n<td>392,506</td>\n</tr>\n</tbody>\n</table></li>\n</ul>\n<p>I hope it help!</p>",
  "messages": [
    {
      "id": "1041339",
      "postDate": "10/07/2020 17:31:24",
      "content": "<p>There are 101,230,332 rows in \"train.csv\".</p>\n<ul>\n<li><p><code>row_id</code> has 101,230,332 unique values indeed.</p></li>\n<li><p><code>timestamp</code> has 72,821,015 unique values. That means some rows have same timestamps in common.</p></li>\n<li><p><code>user_id</code> has 393,656 unique values.</p></li>\n<li><p><code>content_id</code> has 13,782 unique values.</p></li>\n<li><p><code>content_type_id</code> consists of following values</p>\n<table>\n<thead>\n<tr>\n<th>value</th>\n<th>percentage</th>\n<th>count</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>98.1%</td>\n<td>99,271,300</td>\n</tr>\n<tr>\n<td>1</td>\n<td>1.9%</td>\n<td>1,959,032</td>\n</tr>\n</tbody>\n</table></li>\n<li><p><code>task_container_id</code> has 10,000 unique values from 0 to 9999.</p></li>\n<li><p><code>user_answer</code> consists of following values</p>\n<table>\n<thead>\n<tr>\n<th>value</th>\n<th>percentage</th>\n<th>count</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>-1</td>\n<td>-</td>\n<td>1,959,032</td>\n</tr>\n<tr>\n<td>0</td>\n<td>28.4%</td>\n<td>28,186,489</td>\n</tr>\n<tr>\n<td>1</td>\n<td>27.2%</td>\n<td>26,990,007</td>\n</tr>\n<tr>\n<td>2</td>\n<td>18.1%</td>\n<td>18,010,020</td>\n</tr>\n<tr>\n<td>3</td>\n<td>26.3%</td>\n<td>26,084,784</td>\n</tr>\n</tbody>\n</table>\n<p>Note: When a question has only 3 choices, they seem to be 0, 1, and 3</p></li>\n<li><p><code>answered_correctly</code> consists of following values</p>\n<table>\n<thead>\n<tr>\n<th>value</th>\n<th>percentage</th>\n<th>count</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>-1</td>\n<td>-</td>\n<td>1,959,032</td>\n</tr>\n<tr>\n<td>0</td>\n<td>34.3%</td>\n<td>34,026,673</td>\n</tr>\n<tr>\n<td>1</td>\n<td>65.7%</td>\n<td>65,244,627</td>\n</tr>\n</tbody>\n</table></li>\n<li><p><code>prior_question_elapsed_time</code> has 3258 unique values (less than I've imagined!) from 0 to 300,000.</p></li>\n<li><p><code>prior_question_had_explanation</code> consists of boolean values and null.</p>\n<table>\n<thead>\n<tr>\n<th>value</th>\n<th>percentage</th>\n<th>count</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>True</td>\n<td>88.9%</td>\n<td>89,685,560</td>\n</tr>\n<tr>\n<td>False</td>\n<td>11.1%</td>\n<td>11,152,266</td>\n</tr>\n<tr>\n<td>Null</td>\n<td>-</td>\n<td>392,506</td>\n</tr>\n</tbody>\n</table></li>\n</ul>\n<p>I hope it help!</p>",
      "rawMarkdown": "There are 101,230,332 rows in \"train.csv\".\n\n- `row_id` has 101,230,332 unique values indeed.\n- `timestamp` has 72,821,015 unique values. That means some rows have same timestamps in common.\n- `user_id` has 393,656 unique values.\n- `content_id` has 13,782 unique values.\n- `content_type_id` consists of following values\n\n    |value|percentage|count|\n|----|----|----|\n|0|98.1%|99,271,300|\n|1|1.9%|1,959,032|\n\n- `task_container_id` has 10,000 unique values from 0 to 9999.\n- `user_answer` consists of following values\n\n    |value|percentage|count|\n|----|----|----|\n|-1|-|1,959,032|\n|0|28.4%|28,186,489|\n|1|27.2%|26,990,007|\n|2|18.1%|18,010,020|\n|3|26.3%|26,084,784|\n\n    Note: When a question has only 3 choices, they seem to be 0, 1, and 3\n- `answered_correctly` consists of following values\n\n    |value|percentage|count|\n|----|----|----|\n|-1|-|1,959,032|\n|0|34.3%|34,026,673|\n|1|65.7%|65,244,627|\n\n- `prior_question_elapsed_time` has 3258 unique values (less than I've imagined!) from 0 to 300,000.\n- `prior_question_had_explanation` consists of boolean values and null.\n\n    |value|percentage|count|\n|----|----|----|\n|True|88.9%|89,685,560|\n|False|11.1%|11,152,266|\n|Null|-|392,506|\n\nI hope it help!",
      "votes": null
    },
    {
      "id": "1049410",
      "postDate": "10/14/2020 11:59:18",
      "content": "<blockquote>\n  <p>Note: When a question has only 3 choices, they seem to be 0, 1, and 3</p>\n</blockquote>\n<p><a href=\"https://www.kaggle.com/yudaiabe\" target=\"_blank\">@yudaiabe</a> Thanks for sharing. How can you see that a question has only 3 choices?</p>",
      "rawMarkdown": "> Note: When a question has only 3 choices, they seem to be 0, 1, and 3\n\n@yudaiabe Thanks for sharing. How can you see that a question has only 3 choices?",
      "votes": null
    },
    {
      "id": "1049472",
      "postDate": "10/14/2020 12:51:48",
      "content": "<blockquote>\n  <p>prior_question_elapsed_time has 3258 unique values (less than I've imagined!) from 0 to 300,000.</p>\n</blockquote>\n<p>That means each question has a cap time of 300 seconds basically.</p>",
      "rawMarkdown": "> prior_question_elapsed_time has 3258 unique values (less than I've imagined!) from 0 to 300,000.\n\nThat means each question has a cap time of 300 seconds basically.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1049410,
      "author_name": "nyakaggle",
      "author_url": "",
      "post_date": "10/14/2020 11:59:18",
      "content": "<blockquote>\n  <p>Note: When a question has only 3 choices, they seem to be 0, 1, and 3</p>\n</blockquote>\n<p><a href=\"https://www.kaggle.com/yudaiabe\" target=\"_blank\">@yudaiabe</a> Thanks for sharing. How can you see that a question has only 3 choices?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1049472,
      "author_name": "adityaecdrid",
      "author_url": "",
      "post_date": "10/14/2020 12:51:48",
      "content": "<blockquote>\n  <p>prior_question_elapsed_time has 3258 unique values (less than I've imagined!) from 0 to 300,000.</p>\n</blockquote>\n<p>That means each question has a cap time of 300 seconds basically.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1041339": "There are 101,230,332 rows in \"train.csv\".\n\n- `row_id` has 101,230,332 unique values indeed.\n- `timestamp` has 72,821,015 unique values. That means some rows have same timestamps in common.\n- `user_id` has 393,656 unique values.\n- `content_id` has 13,782 unique values.\n- `content_type_id` consists of following values\n\n    |value|percentage|count|\n|----|----|----|\n|0|98.1%|99,271,300|\n|1|1.9%|1,959,032|\n\n- `task_container_id` has 10,000 unique values from 0 to 9999.\n- `user_answer` consists of following values\n\n    |value|percentage|count|\n|----|----|----|\n|-1|-|1,959,032|\n|0|28.4%|28,186,489|\n|1|27.2%|26,990,007|\n|2|18.1%|18,010,020|\n|3|26.3%|26,084,784|\n\n    Note: When a question has only 3 choices, they seem to be 0, 1, and 3\n- `answered_correctly` consists of following values\n\n    |value|percentage|count|\n|----|----|----|\n|-1|-|1,959,032|\n|0|34.3%|34,026,673|\n|1|65.7%|65,244,627|\n\n- `prior_question_elapsed_time` has 3258 unique values (less than I've imagined!) from 0 to 300,000.\n- `prior_question_had_explanation` consists of boolean values and null.\n\n    |value|percentage|count|\n|----|----|----|\n|True|88.9%|89,685,560|\n|False|11.1%|11,152,266|\n|Null|-|392,506|\n\nI hope it help!",
    "1049410": "> Note: When a question has only 3 choices, they seem to be 0, 1, and 3\n\n@yudaiabe Thanks for sharing. How can you see that a question has only 3 choices?",
    "1049472": "> prior_question_elapsed_time has 3258 unique values (less than I've imagined!) from 0 to 300,000.\n\nThat means each question has a cap time of 300 seconds basically."
  },
  "source": "meta"
}