{
  "id": 191504,
  "title": "Multiple entries for same user id at a single timestamp",
  "url": "/competitions/riiid-test-answer-prediction/discussion/191504",
  "author_name": "",
  "post_date": "2020-10-16T19:55:57.747157500Z",
  "votes": -5,
  "comment_count": 4,
  "views": 0,
  "content": "<pre><code>dataset = dataset.sort_values(by=['timestamp','user_id'])\ndataset_agg = dataset.groupby(['timestamp','user_id']).count()\ndataset_agg.row_id.value_counts()\n</code></pre>\n<p>where I run the above code on the training set, I get the following results - <br>\n1    6129184<br>\n3     502050<br>\n4     266319<br>\n5      55603<br>\n2      10684<br>\n7          1<br>\nName: row_id, dtype: int64</p>\n<p>How are there multiple entries for the same user at a single timestamp?</p>",
  "messages": [
    {
      "id": "1051752",
      "postDate": "10/16/2020 19:55:57",
      "content": "<pre><code>dataset = dataset.sort_values(by=['timestamp','user_id'])\ndataset_agg = dataset.groupby(['timestamp','user_id']).count()\ndataset_agg.row_id.value_counts()\n</code></pre>\n<p>where I run the above code on the training set, I get the following results - <br>\n1    6129184<br>\n3     502050<br>\n4     266319<br>\n5      55603<br>\n2      10684<br>\n7          1<br>\nName: row_id, dtype: int64</p>\n<p>How are there multiple entries for the same user at a single timestamp?</p>",
      "rawMarkdown": "```\ndataset = dataset.sort_values(by=['timestamp','user_id'])\ndataset_agg = dataset.groupby(['timestamp','user_id']).count()\ndataset_agg.row_id.value_counts()\n```\n\nwhere I run the above code on the training set, I get the following results - \n1    6129184\n3     502050\n4     266319\n5      55603\n2      10684\n7          1\nName: row_id, dtype: int64\n\nHow are there multiple entries for the same user at a single timestamp?",
      "votes": null
    },
    {
      "id": "1051759",
      "postDate": "10/16/2020 20:25:34",
      "content": "<p>read the Data page again</p>",
      "rawMarkdown": "read the Data page again",
      "votes": null
    },
    {
      "id": "1051762",
      "postDate": "10/16/2020 20:31:25",
      "content": "<p>your answer is not helpful and I have read the data page several times!<br>\nTimestamp is the time between that user interaction and the first interaction with that user. <br>\nI don't see how it is possible to have multiple interactions for a user that are occurring at the exact same time stamp.</p>",
      "rawMarkdown": "your answer is not helpful and I have read the data page several times!\nTimestamp is the time between that user interaction and the first interaction with that user. \nI don't see how it is possible to have multiple interactions for a user that are occurring at the exact same time stamp.",
      "votes": null
    },
    {
      "id": "1051769",
      "postDate": "10/16/2020 20:56:25",
      "content": "<p>Each <code>task_container_id</code> shares a timestamp, and there can be multiple questions in the same task bundle.</p>",
      "rawMarkdown": "Each `task_container_id` shares a timestamp, and there can be multiple questions in the same task bundle.",
      "votes": null
    },
    {
      "id": "1052269",
      "postDate": "10/17/2020 14:30:10",
      "content": "<p>some questions are posted to users at the same time. Notice the task container id.</p>",
      "rawMarkdown": "some questions are posted to users at the same time. Notice the task container id.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1051759,
      "author_name": "yihdarshieh",
      "author_url": "",
      "post_date": "10/16/2020 20:25:34",
      "content": "<p>read the Data page again</p>",
      "votes": null,
      "replies": [
        {
          "id": 1051762,
          "author_name": "biduuuu",
          "author_url": "",
          "post_date": "10/16/2020 20:31:25",
          "content": "<p>your answer is not helpful and I have read the data page several times!<br>\nTimestamp is the time between that user interaction and the first interaction with that user. <br>\nI don't see how it is possible to have multiple interactions for a user that are occurring at the exact same time stamp.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1051769,
      "author_name": "aquatic",
      "author_url": "",
      "post_date": "10/16/2020 20:56:25",
      "content": "<p>Each <code>task_container_id</code> shares a timestamp, and there can be multiple questions in the same task bundle.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1052269,
      "author_name": "xmoremoe",
      "author_url": "",
      "post_date": "10/17/2020 14:30:10",
      "content": "<p>some questions are posted to users at the same time. Notice the task container id.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1051752": "```\ndataset = dataset.sort_values(by=['timestamp','user_id'])\ndataset_agg = dataset.groupby(['timestamp','user_id']).count()\ndataset_agg.row_id.value_counts()\n```\n\nwhere I run the above code on the training set, I get the following results - \n1    6129184\n3     502050\n4     266319\n5      55603\n2      10684\n7          1\nName: row_id, dtype: int64\n\nHow are there multiple entries for the same user at a single timestamp?",
    "1051759": "read the Data page again",
    "1051762": "your answer is not helpful and I have read the data page several times!\nTimestamp is the time between that user interaction and the first interaction with that user. \nI don't see how it is possible to have multiple interactions for a user that are occurring at the exact same time stamp.",
    "1051769": "Each `task_container_id` shares a timestamp, and there can be multiple questions in the same task bundle.",
    "1052269": "some questions are posted to users at the same time. Notice the task container id."
  },
  "source": "meta"
}