{
  "id": 68052,
  "title": "problems with submissions",
  "url": "/competitions/ga-customer-revenue-prediction/discussion/68052",
  "author_name": "Macondo",
  "post_date": "2018-10-08T19:28:20.459000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Hi!,</p>\n\n<p>I have a problem when i make a submission.\nThis is part of my code.</p>\n\n<pre><code>submit = pd.read_csv('sample_submission.csv.zip',  dtype={'fullVisitorId': 'str'})\nsubmit['PredictedLogRevenue'] = clf.predict(X_test.values)\nsubmit.columns\n</code></pre>\n\n<p>ERROR: Expected 'fullVisitorId' column to be of type 'String', but was 'Int32'</p>",
  "messages": [
    {
      "id": 400730,
      "postDate": "2018-10-08T19:28:20.460Z",
      "content": "<p>Hi!,</p>\n\n<p>I have a problem when i make a submission.\nThis is part of my code.</p>\n\n<pre><code>submit = pd.read_csv('sample_submission.csv.zip',  dtype={'fullVisitorId': 'str'})\nsubmit['PredictedLogRevenue'] = clf.predict(X_test.values)\nsubmit.columns\n</code></pre>\n\n<p>ERROR: Expected 'fullVisitorId' column to be of type 'String', but was 'Int32'</p>",
      "rawMarkdown": "Hi!,\n\nI have a problem when i make a submission.\nThis is part of my code.\n\n    submit = pd.read_csv('sample_submission.csv.zip',  dtype={'fullVisitorId': 'str'})\n    submit['PredictedLogRevenue'] = clf.predict(X_test.values)\n    submit.columns\n\nERROR: Expected 'fullVisitorId' column to be of type 'String', but was 'Int32'"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "400730": "Hi!,\n\nI have a problem when i make a submission.\nThis is part of my code.\n\n    submit = pd.read_csv('sample_submission.csv.zip',  dtype={'fullVisitorId': 'str'})\n    submit['PredictedLogRevenue'] = clf.predict(X_test.values)\n    submit.columns\n\nERROR: Expected 'fullVisitorId' column to be of type 'String', but was 'Int32'"
  }
}