{
  "id": 245610,
  "title": "Data Loading Using datatable",
  "url": "/competitions/mlb-player-digital-engagement-forecasting/discussion/245610",
  "author_name": "AbaoJiang",
  "post_date": "2021-06-11T14:23:36.183000",
  "votes": 3,
  "comment_count": 0,
  "views": 0,
  "content": "<p>It seems that there exists a problem if <code>train.csv</code> is loaded by <code>datatable</code> then converted back to pandas DataFrame using function <code>to_pandas()</code>.<br>\nThe problem occurs at the column <code>events</code>. All the nan values are converted to empty string, except for the first row.<br>\nHence, there's a need to fix the problem by converting the empty strings back to nans.<br>\n![<a href=\"https://drive.google.com/file/d/1xDSe8ZN-_6fLAevn-msZ_wf5lhUrO4zy/view?usp=sharing\" target=\"_blank\">https://drive.google.com/file/d/1xDSe8ZN-_6fLAevn-msZ_wf5lhUrO4zy/view?usp=sharing</a>]</p>\n<p>Hope this would help! <br>\nIf there's any idea about this problem, I'm glad to discuss with you, thanks a lot!</p>",
  "messages": [
    {
      "id": 1345377,
      "postDate": "2021-06-11T14:23:36.183Z",
      "content": "<p>It seems that there exists a problem if <code>train.csv</code> is loaded by <code>datatable</code> then converted back to pandas DataFrame using function <code>to_pandas()</code>.<br>\nThe problem occurs at the column <code>events</code>. All the nan values are converted to empty string, except for the first row.<br>\nHence, there's a need to fix the problem by converting the empty strings back to nans.<br>\n![<a href=\"https://drive.google.com/file/d/1xDSe8ZN-_6fLAevn-msZ_wf5lhUrO4zy/view?usp=sharing\" target=\"_blank\">https://drive.google.com/file/d/1xDSe8ZN-_6fLAevn-msZ_wf5lhUrO4zy/view?usp=sharing</a>]</p>\n<p>Hope this would help! <br>\nIf there's any idea about this problem, I'm glad to discuss with you, thanks a lot!</p>",
      "rawMarkdown": "It seems that there exists a problem if `train.csv` is loaded by `datatable` then converted back to pandas DataFrame using function `to_pandas()`.\nThe problem occurs at the column `events`. All the nan values are converted to empty string, except for the first row.\nHence, there's a need to fix the problem by converting the empty strings back to nans.\n![https://drive.google.com/file/d/1xDSe8ZN-_6fLAevn-msZ_wf5lhUrO4zy/view?usp=sharing]\n\nHope this would help! \nIf there's any idea about this problem, I'm glad to discuss with you, thanks a lot!",
      "votes": 3
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1345377": "It seems that there exists a problem if `train.csv` is loaded by `datatable` then converted back to pandas DataFrame using function `to_pandas()`.\nThe problem occurs at the column `events`. All the nan values are converted to empty string, except for the first row.\nHence, there's a need to fix the problem by converting the empty strings back to nans.\n![https://drive.google.com/file/d/1xDSe8ZN-_6fLAevn-msZ_wf5lhUrO4zy/view?usp=sharing]\n\nHope this would help! \nIf there's any idea about this problem, I'm glad to discuss with you, thanks a lot!"
  }
}