{
  "id": 65739,
  "title": "Train columns = test columns? ",
  "url": "/competitions/ga-customer-revenue-prediction/discussion/65739",
  "author_name": "Dmitrij Kozachuk",
  "post_date": "2018-09-14T12:13:49.088000",
  "votes": 0,
  "comment_count": 3,
  "views": 0,
  "content": "<p>I have a look on data, and I realy don't know, why train set and test set consists the same amount of columns? Where is the labels in train set? Thanks. </p>",
  "messages": [
    {
      "id": 387140,
      "postDate": "2018-09-14T12:23:43.993Z",
      "content": "<p>There are more columns than you think.\nHave a look at the EDAs available already in Kernels.\nYou can also just try this link: \n                 <a href=\"https://www.kaggle.com/julian3833/1-quick-start-read-csv-and-flatten-json-fields\">https://www.kaggle.com/julian3833/1-quick-start-read-csv-and-flatten-json-fields</a></p>",
      "rawMarkdown": "There are more columns than you think.\nHave a look at the EDAs available already in Kernels.\nYou can also just try this link: \n                 https://www.kaggle.com/julian3833/1-quick-start-read-csv-and-flatten-json-fields",
      "votes": 1
    },
    {
      "id": 387186,
      "postDate": "2018-09-14T13:57:46.973Z",
      "content": "<p>Also, you may find this function helpful:\n<a href=\"https://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.json.json_normalize.html\">https://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.json.json_normalize.html</a></p>\n\n<pre><code>json_normalize(df['totals'].apply(json.loads).tolist())\n</code></pre>",
      "rawMarkdown": "Also, you may find this function helpful:\nhttps://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.json.json_normalize.html\n\n    json_normalize(df['totals'].apply(json.loads).tolist())\n",
      "votes": 2
    },
    {
      "id": 387138,
      "postDate": "2018-09-14T12:13:49.090Z",
      "content": "<p>I have a look on data, and I realy don't know, why train set and test set consists the same amount of columns? Where is the labels in train set? Thanks. </p>",
      "rawMarkdown": "I have a look on data, and I realy don't know, why train set and test set consists the same amount of columns? Where is the labels in train set? Thanks. "
    },
    {
      "id": 387155,
      "postDate": "2018-09-14T13:17:25.367Z",
      "rawMarkdown": "",
      "votes": 1,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 387140,
      "author_name": "Fernando Constantino",
      "author_url": "",
      "post_date": "2018-09-14T12:23:43.993000",
      "content": "<p>There are more columns than you think.\nHave a look at the EDAs available already in Kernels.\nYou can also just try this link: \n                 <a href=\"https://www.kaggle.com/julian3833/1-quick-start-read-csv-and-flatten-json-fields\">https://www.kaggle.com/julian3833/1-quick-start-read-csv-and-flatten-json-fields</a></p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 387186,
      "author_name": "Kirill Dubovikov",
      "author_url": "",
      "post_date": "2018-09-14T13:57:46.973000",
      "content": "<p>Also, you may find this function helpful:\n<a href=\"https://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.json.json_normalize.html\">https://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.json.json_normalize.html</a></p>\n\n<pre><code>json_normalize(df['totals'].apply(json.loads).tolist())\n</code></pre>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 387155,
      "author_name": "",
      "author_url": "",
      "post_date": "2018-09-14T13:17:25.367000",
      "content": "",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "387140": "There are more columns than you think.\nHave a look at the EDAs available already in Kernels.\nYou can also just try this link: \n                 https://www.kaggle.com/julian3833/1-quick-start-read-csv-and-flatten-json-fields",
    "387186": "Also, you may find this function helpful:\nhttps://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.json.json_normalize.html\n\n    json_normalize(df['totals'].apply(json.loads).tolist())\n",
    "387138": "I have a look on data, and I realy don't know, why train set and test set consists the same amount of columns? Where is the labels in train set? Thanks. ",
    "387155": ""
  }
}