{
  "id": 190785,
  "title": "Error in data",
  "url": "/competitions/riiid-test-answer-prediction/discussion/190785",
  "author_name": "Babinu_Uthup_4JESUS",
  "post_date": "2020-10-13T10:54:37.828000",
  "votes": 12,
  "comment_count": 0,
  "views": 0,
  "content": "<p>The following pandas query yields something :</p>\n<p>train_df[train_df.user_id == 368624][[col for col in train_df.columns if use_col(col)]].head(20)<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F82759%2F8ea3bdb53f963622f1b9e63550cb6b9e%2FScreen%20Shot%202020-10-13%20at%204.18.32%20PM.png?generation=1602586150341762&amp;alt=media\" alt=\"\"></p>\n<p>We can see that the entries for both first and second timestamps(for the user_id 368624) have their prior_question_elapsed_time field set as 47250 and prior_question_had_explanation field set as False. I believe that the first entry should have these fields set as null(by virtue of it being the first entry and hence having no questions prior to it) and it looks these values were inadvertently copied over from the second entry erroneously to the first. Can someone confirm that this indeed is the case?</p>\n<p>Feel free to let me know if you need more clarification.</p>\n<p>Thanks<br>\nBabinu</p>",
  "messages": [
    {
      "id": 1048279,
      "postDate": "2020-10-13T10:54:37.827Z",
      "content": "<p>The following pandas query yields something :</p>\n<p>train_df[train_df.user_id == 368624][[col for col in train_df.columns if use_col(col)]].head(20)<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F82759%2F8ea3bdb53f963622f1b9e63550cb6b9e%2FScreen%20Shot%202020-10-13%20at%204.18.32%20PM.png?generation=1602586150341762&amp;alt=media\" alt=\"\"></p>\n<p>We can see that the entries for both first and second timestamps(for the user_id 368624) have their prior_question_elapsed_time field set as 47250 and prior_question_had_explanation field set as False. I believe that the first entry should have these fields set as null(by virtue of it being the first entry and hence having no questions prior to it) and it looks these values were inadvertently copied over from the second entry erroneously to the first. Can someone confirm that this indeed is the case?</p>\n<p>Feel free to let me know if you need more clarification.</p>\n<p>Thanks<br>\nBabinu</p>",
      "rawMarkdown": "The following pandas query yields something :\n\ntrain_df[train_df.user_id == 368624][[col for col in train_df.columns if use_col(col)]].head(20)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F82759%2F8ea3bdb53f963622f1b9e63550cb6b9e%2FScreen%20Shot%202020-10-13%20at%204.18.32%20PM.png?generation=1602586150341762&alt=media)\n\n\nWe can see that the entries for both first and second timestamps(for the user_id 368624) have their prior_question_elapsed_time field set as 47250 and prior_question_had_explanation field set as False. I believe that the first entry should have these fields set as null(by virtue of it being the first entry and hence having no questions prior to it) and it looks these values were inadvertently copied over from the second entry erroneously to the first. Can someone confirm that this indeed is the case?\n\nFeel free to let me know if you need more clarification.\n\nThanks\nBabinu",
      "votes": 12
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1048279": "The following pandas query yields something :\n\ntrain_df[train_df.user_id == 368624][[col for col in train_df.columns if use_col(col)]].head(20)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F82759%2F8ea3bdb53f963622f1b9e63550cb6b9e%2FScreen%20Shot%202020-10-13%20at%204.18.32%20PM.png?generation=1602586150341762&alt=media)\n\n\nWe can see that the entries for both first and second timestamps(for the user_id 368624) have their prior_question_elapsed_time field set as 47250 and prior_question_had_explanation field set as False. I believe that the first entry should have these fields set as null(by virtue of it being the first entry and hence having no questions prior to it) and it looks these values were inadvertently copied over from the second entry erroneously to the first. Can someone confirm that this indeed is the case?\n\nFeel free to let me know if you need more clarification.\n\nThanks\nBabinu"
  }
}