{
  "id": 268529,
  "title": "ERROR: Unexpected Column:  '' (Line 1, Column 1)",
  "url": "/competitions/beyond-analysis/discussion/268529",
  "author_name": "",
  "post_date": "2021-08-27T18:00:32.969816Z",
  "votes": null,
  "comment_count": 9,
  "views": 0,
  "content": "<p>When I am trying to submit the \"CSV\" prediction file, I am getting this error any idea?</p>",
  "messages": [
    {
      "id": "1493236",
      "postDate": "08/27/2021 18:00:32",
      "content": "<p>When I am trying to submit the \"CSV\" prediction file, I am getting this error any idea?</p>",
      "rawMarkdown": "When I am trying to submit the \"CSV\" prediction file, I am getting this error any idea?",
      "votes": null
    },
    {
      "id": "1493534",
      "postDate": "08/28/2021 02:42:38",
      "content": "<p><a href=\"https://www.kaggle.com/priyaduttbhatt\" target=\"_blank\">@priyaduttbhatt</a> while saving your csv use \"index=False\" parameter so that extra column will not be there.<br>\nfor ex:<br>\npredictions.to_csv(\"pred.csv\",index=False)</p>",
      "rawMarkdown": "priyaduttbhatt while saving your csv use \"index=False\" parameter so that extra column will not be there.\nfor ex:\npredictions.to_csv(\"pred.csv\",index=False)",
      "votes": null
    },
    {
      "id": "1493619",
      "postDate": "08/28/2021 04:47:56",
      "content": "<p>Check the sample submission for reference</p>",
      "rawMarkdown": "Check the sample submission for reference",
      "votes": null
    },
    {
      "id": "1493623",
      "postDate": "08/28/2021 04:53:57",
      "content": "<p>ah yes forgot about that tyty!</p>",
      "rawMarkdown": "ah yes forgot about that tyty!",
      "votes": null
    },
    {
      "id": "1495388",
      "postDate": "08/29/2021 14:23:24",
      "content": "<p>ERROR: The value '98481269471' in the key column 'UNIQUE_IDENTIFIER' has already been defined (Line 3, Column 1) I am getting this as an error</p>",
      "rawMarkdown": "ERROR: The value '98481269471' in the key column 'UNIQUE_IDENTIFIER' has already been defined (Line 3, Column 1) I am getting this as an error",
      "votes": null
    },
    {
      "id": "1496121",
      "postDate": "08/30/2021 06:05:36",
      "content": "<p>your_submission_df[\"UNIQUE_IDENTIFIER\"].nunique()==your_submission_df[\"UNIQUE_IDENTIFIER\"].shape[0], can you check this condition. i think duplicate unique_identifier is present in your dataset</p>",
      "rawMarkdown": "your_submission_df[\"UNIQUE_IDENTIFIER\"].nunique()==your_submission_df[\"UNIQUE_IDENTIFIER\"].shape[0], can you check this condition. i think duplicate unique_identifier is present in your dataset",
      "votes": null
    },
    {
      "id": "1498194",
      "postDate": "08/31/2021 18:29:47",
      "content": "<p>bro…..i have exactly 3 columns and even all the predictions are unique…still am getting the error</p>",
      "rawMarkdown": "bro.....i have exactly 3 columns and even all the predictions are unique...still am getting the error",
      "votes": null
    },
    {
      "id": "1498195",
      "postDate": "08/31/2021 18:30:25",
      "content": "<p>bro i dont have any duplicates and still I am getting this error….please help</p>",
      "rawMarkdown": "bro i dont have any duplicates and still I am getting this error....please help",
      "votes": null
    },
    {
      "id": "1498591",
      "postDate": "09/01/2021 04:48:16",
      "content": "<p><a href=\"https://www.kaggle.com/gauravkumartripathi\" target=\"_blank\">@gauravkumartripathi</a> use this way, <br>\nhere original_submission - sample_submission provided by the organizer<br>\nyour_pred - yours generated predictions</p>\n<p>1) your_pred = your_pred.drop_duplicates([\"UNIQUE_IDENTIFIER\"])<br>\n2) final_sub = pd.merge(original_submission[['UNIQUE_IDENTIFIER\"]],your_pred,on=[\"UNIQUE_IDENTIFIER\"],how=\"left\")<br>\n3)final_sub.to_csv(\"new_sub.csv,index=False)</p>",
      "rawMarkdown": "gauravkumartripathi use this way, \nhere original_submission - sample_submission provided by the organizer\nyour_pred - yours generated predictions\n\n1) your_pred = your_pred.drop_duplicates([\"UNIQUE_IDENTIFIER\"])\n2) final_sub = pd.merge(original_submission[['UNIQUE_IDENTIFIER\"]],your_pred,on=[\"UNIQUE_IDENTIFIER\"],how=\"left\")\n3)final_sub.to_csv(\"new_sub.csv,index=False)",
      "votes": null
    },
    {
      "id": "1498773",
      "postDate": "09/01/2021 07:33:08",
      "content": "<p>Thanks for replying…. I found the mistake I was doing and rectified it and already made submission.</p>",
      "rawMarkdown": "Thanks for replying.... I found the mistake I was doing and rectified it and already made submission.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1493534,
      "author_name": "sid00733",
      "author_url": "",
      "post_date": "08/28/2021 02:42:38",
      "content": "<p><a href=\"https://www.kaggle.com/priyaduttbhatt\" target=\"_blank\">@priyaduttbhatt</a> while saving your csv use \"index=False\" parameter so that extra column will not be there.<br>\nfor ex:<br>\npredictions.to_csv(\"pred.csv\",index=False)</p>",
      "votes": null,
      "replies": [
        {
          "id": 1493623,
          "author_name": "priyaduttbhatt",
          "author_url": "",
          "post_date": "08/28/2021 04:53:57",
          "content": "<p>ah yes forgot about that tyty!</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1498194,
          "author_name": "gauravkumartripathi",
          "author_url": "",
          "post_date": "08/31/2021 18:29:47",
          "content": "<p>bro…..i have exactly 3 columns and even all the predictions are unique…still am getting the error</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1498591,
          "author_name": "sid00733",
          "author_url": "",
          "post_date": "09/01/2021 04:48:16",
          "content": "<p><a href=\"https://www.kaggle.com/gauravkumartripathi\" target=\"_blank\">@gauravkumartripathi</a> use this way, <br>\nhere original_submission - sample_submission provided by the organizer<br>\nyour_pred - yours generated predictions</p>\n<p>1) your_pred = your_pred.drop_duplicates([\"UNIQUE_IDENTIFIER\"])<br>\n2) final_sub = pd.merge(original_submission[['UNIQUE_IDENTIFIER\"]],your_pred,on=[\"UNIQUE_IDENTIFIER\"],how=\"left\")<br>\n3)final_sub.to_csv(\"new_sub.csv,index=False)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1498773,
          "author_name": "gauravkumartripathi",
          "author_url": "",
          "post_date": "09/01/2021 07:33:08",
          "content": "<p>Thanks for replying…. I found the mistake I was doing and rectified it and already made submission.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1493619,
      "author_name": "ayusharyan71",
      "author_url": "",
      "post_date": "08/28/2021 04:47:56",
      "content": "<p>Check the sample submission for reference</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1495388,
      "author_name": "kashishranjan",
      "author_url": "",
      "post_date": "08/29/2021 14:23:24",
      "content": "<p>ERROR: The value '98481269471' in the key column 'UNIQUE_IDENTIFIER' has already been defined (Line 3, Column 1) I am getting this as an error</p>",
      "votes": null,
      "replies": [
        {
          "id": 1496121,
          "author_name": "sid00733",
          "author_url": "",
          "post_date": "08/30/2021 06:05:36",
          "content": "<p>your_submission_df[\"UNIQUE_IDENTIFIER\"].nunique()==your_submission_df[\"UNIQUE_IDENTIFIER\"].shape[0], can you check this condition. i think duplicate unique_identifier is present in your dataset</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1498195,
          "author_name": "gauravkumartripathi",
          "author_url": "",
          "post_date": "08/31/2021 18:30:25",
          "content": "<p>bro i dont have any duplicates and still I am getting this error….please help</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1493236": "When I am trying to submit the \"CSV\" prediction file, I am getting this error any idea?",
    "1493534": "priyaduttbhatt while saving your csv use \"index=False\" parameter so that extra column will not be there.\nfor ex:\npredictions.to_csv(\"pred.csv\",index=False)",
    "1493619": "Check the sample submission for reference",
    "1493623": "ah yes forgot about that tyty!",
    "1495388": "ERROR: The value '98481269471' in the key column 'UNIQUE_IDENTIFIER' has already been defined (Line 3, Column 1) I am getting this as an error",
    "1496121": "your_submission_df[\"UNIQUE_IDENTIFIER\"].nunique()==your_submission_df[\"UNIQUE_IDENTIFIER\"].shape[0], can you check this condition. i think duplicate unique_identifier is present in your dataset",
    "1498194": "bro.....i have exactly 3 columns and even all the predictions are unique...still am getting the error",
    "1498195": "bro i dont have any duplicates and still I am getting this error....please help",
    "1498591": "gauravkumartripathi use this way, \nhere original_submission - sample_submission provided by the organizer\nyour_pred - yours generated predictions\n\n1) your_pred = your_pred.drop_duplicates([\"UNIQUE_IDENTIFIER\"])\n2) final_sub = pd.merge(original_submission[['UNIQUE_IDENTIFIER\"]],your_pred,on=[\"UNIQUE_IDENTIFIER\"],how=\"left\")\n3)final_sub.to_csv(\"new_sub.csv,index=False)",
    "1498773": "Thanks for replying.... I found the mistake I was doing and rectified it and already made submission."
  },
  "source": "meta"
}