{
  "id": 215708,
  "title": "Missing the ending newline character issue",
  "url": "/competitions/indoor-location-navigation/discussion/215708",
  "author_name": "Fahíl Farkhshatov",
  "post_date": "2021-01-30T22:09:04.966000",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p><a href=\"https://www.kaggle.com/c/indoor-location-navigation/data\" target=\"_blank\">The data description</a> has following text:</p>\n<blockquote>\n  <p>A note on data quality: In the training files, you may find occasionally that a line is missing the ending newline character, causing it to run on to the next line. It is up to you how you want to handle this issue. This issue is not found in the test data.</p>\n</blockquote>\n<p>I found example of this problem at following file (at line 33977):<br>\n<code>train/5cd56b70e2acfd2d33b5a552/F2/5cf33a7cf7d7bc0008343d22.txt'</code></p>\n<p>There is snapshot:</p>\n<p><img src=\"https://i.ibb.co/KDQsNnT/Screenshot-from-2021-01-31-00-39-05.png\" alt=\"image\"></p>\n<blockquote>\n  <p>1559442877110    TYPE_BEACON 443c22077e83e05f54c8e47eff1370c7a4f60fca    7d3b55c44421860748a0b4a9f6c227387b10b692    340cbefb60656a374978ff81f7c843f1dfb9a7bb    -59 -88 19.732502466971397  eb83f779d2e1b7b973206649cd0eaf9851e8b9c4<strong>1559442877121</strong>   TYPE_BEACON 89cb11b04122cef23388b0da06bd426c1f48a9b5</p>\n</blockquote>\n<p>As you can see at example above, there is no space between timestamp and previous value. So this values concatenate into one string: </p>\n<blockquote>\n  <p>eb83f779d2e1b7b973206649cd0eaf9851e8b9c4<strong>1559442877121</strong></p>\n</blockquote>\n<p>Any ideas how to deal with it without losing any data?</p>",
  "messages": [
    {
      "id": 1179935,
      "postDate": "2021-02-01T02:04:23.070Z",
      "content": "<p>I have dealed with the problem, please see this discussion.<br>\n<a href=\"https://www.kaggle.com/c/indoor-location-navigation/discussion/215604\" target=\"_blank\">https://www.kaggle.com/c/indoor-location-navigation/discussion/215604</a></p>\n<p>I hope it will be good hint for you.</p>",
      "rawMarkdown": "I have dealed with the problem, please see this discussion.\nhttps://www.kaggle.com/c/indoor-location-navigation/discussion/215604\n\nI hope it will be good hint for you.\n",
      "votes": 1
    },
    {
      "id": 1178452,
      "postDate": "2021-01-30T22:09:04.967Z",
      "content": "<p><a href=\"https://www.kaggle.com/c/indoor-location-navigation/data\" target=\"_blank\">The data description</a> has following text:</p>\n<blockquote>\n  <p>A note on data quality: In the training files, you may find occasionally that a line is missing the ending newline character, causing it to run on to the next line. It is up to you how you want to handle this issue. This issue is not found in the test data.</p>\n</blockquote>\n<p>I found example of this problem at following file (at line 33977):<br>\n<code>train/5cd56b70e2acfd2d33b5a552/F2/5cf33a7cf7d7bc0008343d22.txt'</code></p>\n<p>There is snapshot:</p>\n<p><img src=\"https://i.ibb.co/KDQsNnT/Screenshot-from-2021-01-31-00-39-05.png\" alt=\"image\"></p>\n<blockquote>\n  <p>1559442877110    TYPE_BEACON 443c22077e83e05f54c8e47eff1370c7a4f60fca    7d3b55c44421860748a0b4a9f6c227387b10b692    340cbefb60656a374978ff81f7c843f1dfb9a7bb    -59 -88 19.732502466971397  eb83f779d2e1b7b973206649cd0eaf9851e8b9c4<strong>1559442877121</strong>   TYPE_BEACON 89cb11b04122cef23388b0da06bd426c1f48a9b5</p>\n</blockquote>\n<p>As you can see at example above, there is no space between timestamp and previous value. So this values concatenate into one string: </p>\n<blockquote>\n  <p>eb83f779d2e1b7b973206649cd0eaf9851e8b9c4<strong>1559442877121</strong></p>\n</blockquote>\n<p>Any ideas how to deal with it without losing any data?</p>",
      "rawMarkdown": "[The data description](https://www.kaggle.com/c/indoor-location-navigation/data) has following text:\n\n> A note on data quality: In the training files, you may find occasionally that a line is missing the ending newline character, causing it to run on to the next line. It is up to you how you want to handle this issue. This issue is not found in the test data.\n\nI found example of this problem at following file (at line 33977):\n`train/5cd56b70e2acfd2d33b5a552/F2/5cf33a7cf7d7bc0008343d22.txt'`\n\nThere is snapshot:\n\n![image](https://i.ibb.co/KDQsNnT/Screenshot-from-2021-01-31-00-39-05.png)\n\n> 1559442877110\tTYPE_BEACON\t443c22077e83e05f54c8e47eff1370c7a4f60fca\t7d3b55c44421860748a0b4a9f6c227387b10b692\t340cbefb60656a374978ff81f7c843f1dfb9a7bb\t-59\t-88\t19.732502466971397\teb83f779d2e1b7b973206649cd0eaf9851e8b9c4**1559442877121**\tTYPE_BEACON\t89cb11b04122cef23388b0da06bd426c1f48a9b5\n\n\nAs you can see at example above, there is no space between timestamp and previous value. So this values concatenate into one string: \n> eb83f779d2e1b7b973206649cd0eaf9851e8b9c4**1559442877121**\n\nAny ideas how to deal with it without losing any data?",
      "votes": 1
    },
    {
      "id": 1244211,
      "postDate": "2021-03-18T19:14:18.007Z",
      "rawMarkdown": "",
      "votes": 2,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1179935,
      "author_name": "Quvotha",
      "author_url": "",
      "post_date": "2021-02-01T02:04:23.070000",
      "content": "<p>I have dealed with the problem, please see this discussion.<br>\n<a href=\"https://www.kaggle.com/c/indoor-location-navigation/discussion/215604\" target=\"_blank\">https://www.kaggle.com/c/indoor-location-navigation/discussion/215604</a></p>\n<p>I hope it will be good hint for you.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1244211,
      "author_name": "",
      "author_url": "",
      "post_date": "2021-03-18T19:14:18.007000",
      "content": "",
      "votes": 2,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1179935": "I have dealed with the problem, please see this discussion.\nhttps://www.kaggle.com/c/indoor-location-navigation/discussion/215604\n\nI hope it will be good hint for you.\n",
    "1178452": "[The data description](https://www.kaggle.com/c/indoor-location-navigation/data) has following text:\n\n> A note on data quality: In the training files, you may find occasionally that a line is missing the ending newline character, causing it to run on to the next line. It is up to you how you want to handle this issue. This issue is not found in the test data.\n\nI found example of this problem at following file (at line 33977):\n`train/5cd56b70e2acfd2d33b5a552/F2/5cf33a7cf7d7bc0008343d22.txt'`\n\nThere is snapshot:\n\n![image](https://i.ibb.co/KDQsNnT/Screenshot-from-2021-01-31-00-39-05.png)\n\n> 1559442877110\tTYPE_BEACON\t443c22077e83e05f54c8e47eff1370c7a4f60fca\t7d3b55c44421860748a0b4a9f6c227387b10b692\t340cbefb60656a374978ff81f7c843f1dfb9a7bb\t-59\t-88\t19.732502466971397\teb83f779d2e1b7b973206649cd0eaf9851e8b9c4**1559442877121**\tTYPE_BEACON\t89cb11b04122cef23388b0da06bd426c1f48a9b5\n\n\nAs you can see at example above, there is no space between timestamp and previous value. So this values concatenate into one string: \n> eb83f779d2e1b7b973206649cd0eaf9851e8b9c4**1559442877121**\n\nAny ideas how to deal with it without losing any data?",
    "1244211": ""
  }
}