{
  "id": 71382,
  "title": "How can I remove 'hits' column?",
  "url": "/competitions/ga-customer-revenue-prediction/discussion/71382",
  "author_name": "",
  "post_date": "2018-11-13T08:12:14.128231500Z",
  "votes": null,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Someone suggests removing 'hits' column for reducing 'train_v2.csv' file size.  But, I can't load the file into memory, how can I remove it? </p>",
  "messages": [
    {
      "id": "420185",
      "postDate": "11/13/2018 08:12:14",
      "content": "<p>Someone suggests removing 'hits' column for reducing 'train_v2.csv' file size.  But, I can't load the file into memory, how can I remove it? </p>",
      "rawMarkdown": "Someone suggests removing 'hits' column for reducing 'train_v2.csv' file size.  But, I can't load the file into memory, how can I remove it?",
      "votes": null
    },
    {
      "id": "420211",
      "postDate": "11/13/2018 09:26:53",
      "content": "<p>For python : When you use read_csv, you can specify you want to read with usecols</p>",
      "rawMarkdown": "For python : When you use read_csv, you can specify you want to read with usecols",
      "votes": null
    },
    {
      "id": "420825",
      "postDate": "11/14/2018 07:11:20",
      "content": "<p>Thank you so much! Y Assous</p>",
      "rawMarkdown": "Thank you so much! Y Assous",
      "votes": null
    },
    {
      "id": "420952",
      "postDate": "11/14/2018 11:48:16",
      "content": "<p>For R you can use the following: \nread.csv(\"../input/train-flat/train_flat.csv\",header = T, colClasses = c(rep(\"character\",11),\"NULL\", \"character\",\"character\"))</p>\n\n<p>The same command can be used for test set. Hits is the 12th column so I skip that.</p>",
      "rawMarkdown": "For R you can use the following: \nread.csv(\"../input/train-flat/train_flat.csv\",header = T, colClasses = c(rep(\"character\",11),\"NULL\", \"character\",\"character\"))\n\nThe same command can be used for test set. Hits is the 12th column so I skip that.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 420211,
      "author_name": "xtelima",
      "author_url": "",
      "post_date": "11/13/2018 09:26:53",
      "content": "<p>For python : When you use read_csv, you can specify you want to read with usecols</p>",
      "votes": null,
      "replies": [
        {
          "id": 420825,
          "author_name": "jerrylsu",
          "author_url": "",
          "post_date": "11/14/2018 07:11:20",
          "content": "<p>Thank you so much! Y Assous</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 420952,
      "author_name": "titamarius",
      "author_url": "",
      "post_date": "11/14/2018 11:48:16",
      "content": "<p>For R you can use the following: \nread.csv(\"../input/train-flat/train_flat.csv\",header = T, colClasses = c(rep(\"character\",11),\"NULL\", \"character\",\"character\"))</p>\n\n<p>The same command can be used for test set. Hits is the 12th column so I skip that.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "420185": "Someone suggests removing 'hits' column for reducing 'train_v2.csv' file size.  But, I can't load the file into memory, how can I remove it?",
    "420211": "For python : When you use read_csv, you can specify you want to read with usecols",
    "420825": "Thank you so much! Y Assous",
    "420952": "For R you can use the following: \nread.csv(\"../input/train-flat/train_flat.csv\",header = T, colClasses = c(rep(\"character\",11),\"NULL\", \"character\",\"character\"))\n\nThe same command can be used for test set. Hits is the 12th column so I skip that."
  },
  "source": "meta"
}