{
  "id": 66189,
  "title": "Test.csv total rows is not the same as required in submission",
  "url": "/competitions/ga-customer-revenue-prediction/discussion/66189",
  "author_name": "",
  "post_date": "2018-09-19T03:59:53.838495700Z",
  "votes": 1,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Hi,\nDoes anyone know why the submission require much less rows compared to the rows in test.csv ?</p>",
  "messages": [
    {
      "id": "389676",
      "postDate": "09/19/2018 03:59:53",
      "content": "<p>Hi,\nDoes anyone know why the submission require much less rows compared to the rows in test.csv ?</p>",
      "rawMarkdown": "Hi,\nDoes anyone know why the submission require much less rows compared to the rows in test.csv ?",
      "votes": null
    },
    {
      "id": "389678",
      "postDate": "09/19/2018 04:12:09",
      "content": "<p>It may not be much less. But it is definitely less than the number of rows in test.csv. This is because you have to group the revenue of each visitor in the submission file. What you have in test.csv are unique visits. (not unique users).</p>",
      "rawMarkdown": "It may not be much less. But it is definitely less than the number of rows in test.csv. This is because you have to group the revenue of each visitor in the submission file. What you have in test.csv are unique visits. (not unique users).",
      "votes": null
    },
    {
      "id": "389686",
      "postDate": "09/19/2018 04:37:58",
      "content": "<p>I have tried to group by unique fullvisitor id, I now have 4972 rows only. Anyone know how I can go about this problem?</p>",
      "rawMarkdown": "I have tried to group by unique fullvisitor id, I now have 4972 rows only. Anyone know how I can go about this problem?",
      "votes": null
    },
    {
      "id": "389711",
      "postDate": "09/19/2018 05:29:59",
      "content": "<p>Did you read fullvisitor id as string and not integer?</p>",
      "rawMarkdown": "Did you read fullvisitor id as string and not integer?",
      "votes": null
    },
    {
      "id": "389726",
      "postDate": "09/19/2018 06:07:28",
      "content": "<p>Reading as string I got 499,355 unique PredictedLogRevenue. Original test.csv contains a total of 804,685 rows including header row.</p>",
      "rawMarkdown": "Reading as string I got 499,355 unique PredictedLogRevenue. Original test.csv contains a total of 804,685 rows including header row.",
      "votes": null
    },
    {
      "id": "400567",
      "postDate": "10/08/2018 15:09:37",
      "content": "<p>Try to do it during loading the csv file. i.e:</p>\n\n<p>read_csv with this params: dtype={'fullVisitorId': 'str'},</p>",
      "rawMarkdown": "Try to do it during loading the csv file. i.e:\n\nread_csv with this params: dtype={'fullVisitorId': 'str'},",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 389678,
      "author_name": "krisho007",
      "author_url": "",
      "post_date": "09/19/2018 04:12:09",
      "content": "<p>It may not be much less. But it is definitely less than the number of rows in test.csv. This is because you have to group the revenue of each visitor in the submission file. What you have in test.csv are unique visits. (not unique users).</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 389686,
      "author_name": "klloke",
      "author_url": "",
      "post_date": "09/19/2018 04:37:58",
      "content": "<p>I have tried to group by unique fullvisitor id, I now have 4972 rows only. Anyone know how I can go about this problem?</p>",
      "votes": null,
      "replies": [
        {
          "id": 389711,
          "author_name": "artgor",
          "author_url": "",
          "post_date": "09/19/2018 05:29:59",
          "content": "<p>Did you read fullvisitor id as string and not integer?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 389726,
          "author_name": "klloke",
          "author_url": "",
          "post_date": "09/19/2018 06:07:28",
          "content": "<p>Reading as string I got 499,355 unique PredictedLogRevenue. Original test.csv contains a total of 804,685 rows including header row.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 400567,
      "author_name": "danterivas",
      "author_url": "",
      "post_date": "10/08/2018 15:09:37",
      "content": "<p>Try to do it during loading the csv file. i.e:</p>\n\n<p>read_csv with this params: dtype={'fullVisitorId': 'str'},</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "389676": "Hi,\nDoes anyone know why the submission require much less rows compared to the rows in test.csv ?",
    "389678": "It may not be much less. But it is definitely less than the number of rows in test.csv. This is because you have to group the revenue of each visitor in the submission file. What you have in test.csv are unique visits. (not unique users).",
    "389686": "I have tried to group by unique fullvisitor id, I now have 4972 rows only. Anyone know how I can go about this problem?",
    "389711": "Did you read fullvisitor id as string and not integer?",
    "389726": "Reading as string I got 499,355 unique PredictedLogRevenue. Original test.csv contains a total of 804,685 rows including header row.",
    "400567": "Try to do it during loading the csv file. i.e:\n\nread_csv with this params: dtype={'fullVisitorId': 'str'},"
  },
  "source": "meta"
}