{
  "id": 75504,
  "title": "Help! Cannot read test.parquet",
  "url": "/competitions/vsb-power-line-fault-detection/discussion/75504",
  "author_name": "",
  "post_date": "2018-12-22T13:38:29.278757900Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I tried to read part of  test.parquet, but failed:</p>\n\n<pre><code>[In]\ntest = pq.read_pandas('../input/test.parquet', ['0', '1', '2']).to_pandas()\nprint(test)\n\n[Out]\nEmpty DataFrame\nColumns: []\nIndex: []\n</code></pre>\n\n<p>Did I make any mistake? Thanks!</p>",
  "messages": [
    {
      "id": "443810",
      "postDate": "12/22/2018 13:38:29",
      "content": "<p>I tried to read part of  test.parquet, but failed:</p>\n\n<pre><code>[In]\ntest = pq.read_pandas('../input/test.parquet', ['0', '1', '2']).to_pandas()\nprint(test)\n\n[Out]\nEmpty DataFrame\nColumns: []\nIndex: []\n</code></pre>\n\n<p>Did I make any mistake? Thanks!</p>",
      "rawMarkdown": "I tried to read part of  test.parquet, but failed:\n\n    [In]\n    test = pq.read_pandas('../input/test.parquet', ['0', '1', '2']).to_pandas()\n    print(test)\n    \n    [Out]\n    Empty DataFrame\n    Columns: []\n    Index: []\n\nDid I make any mistake? Thanks!",
      "votes": null
    },
    {
      "id": "443831",
      "postDate": "12/22/2018 14:18:47",
      "content": "<p>I met the same issue, but found the reason.\nTest data starts not from 0, 1, 2, ... , but from 8712, 8713, 8714, ...\nSo, replace ['0', '1', '2'] to ['8712', '8713', '8714'] should work</p>",
      "rawMarkdown": "I met the same issue, but found the reason.\nTest data starts not from 0, 1, 2, ... , but from 8712, 8713, 8714, ...\nSo, replace ['0', '1', '2'] to ['8712', '8713', '8714'] should work",
      "votes": null
    },
    {
      "id": "443842",
      "postDate": "12/22/2018 14:55:04",
      "content": "<p>Thanks!</p>",
      "rawMarkdown": "Thanks!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 443831,
      "author_name": "tikutiku",
      "author_url": "",
      "post_date": "12/22/2018 14:18:47",
      "content": "<p>I met the same issue, but found the reason.\nTest data starts not from 0, 1, 2, ... , but from 8712, 8713, 8714, ...\nSo, replace ['0', '1', '2'] to ['8712', '8713', '8714'] should work</p>",
      "votes": null,
      "replies": [
        {
          "id": 443842,
          "author_name": "dysonlin",
          "author_url": "",
          "post_date": "12/22/2018 14:55:04",
          "content": "<p>Thanks!</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "443810": "I tried to read part of  test.parquet, but failed:\n\n    [In]\n    test = pq.read_pandas('../input/test.parquet', ['0', '1', '2']).to_pandas()\n    print(test)\n    \n    [Out]\n    Empty DataFrame\n    Columns: []\n    Index: []\n\nDid I make any mistake? Thanks!",
    "443831": "I met the same issue, but found the reason.\nTest data starts not from 0, 1, 2, ... , but from 8712, 8713, 8714, ...\nSo, replace ['0', '1', '2'] to ['8712', '8713', '8714'] should work",
    "443842": "Thanks!"
  },
  "source": "meta"
}