{
  "id": 305574,
  "title": "Fix all known species column problems",
  "url": "/competitions/happy-whale-and-dolphin/discussion/305574",
  "author_name": "",
  "post_date": "2022-02-05T21:52:23.692286600Z",
  "votes": 176,
  "comment_count": 20,
  "views": 0,
  "content": "<pre><code>train_df = pd.read_csv(train_csv)\ntrain_df.species.replace({\"globis\": \"short_finned_pilot_whale\",\n                          \"pilot_whale\": \"short_finned_pilot_whale\",\n                          \"kiler_whale\": \"killer_whale\",\n                          \"bottlenose_dolpin\": \"bottlenose_dolphin\"}, inplace=True)\n</code></pre>",
  "messages": [
    {
      "id": "1677670",
      "postDate": "02/05/2022 21:52:23",
      "content": "<pre><code>train_df = pd.read_csv(train_csv)\ntrain_df.species.replace({\"globis\": \"short_finned_pilot_whale\",\n                          \"pilot_whale\": \"short_finned_pilot_whale\",\n                          \"kiler_whale\": \"killer_whale\",\n                          \"bottlenose_dolpin\": \"bottlenose_dolphin\"}, inplace=True)\n</code></pre>",
      "rawMarkdown": "```\ntrain_df = pd.read_csv(train_csv)\ntrain_df.species.replace({\"globis\": \"short_finned_pilot_whale\",\n                          \"pilot_whale\": \"short_finned_pilot_whale\",\n                          \"kiler_whale\": \"killer_whale\",\n                          \"bottlenose_dolpin\": \"bottlenose_dolphin\"}, inplace=True)\n```",
      "votes": null
    },
    {
      "id": "1678278",
      "postDate": "02/06/2022 12:07:42",
      "content": "<p>Might also be worth to add <code>\"beluga\": \"beluga_whale\"</code> in the mix if you want to create an auxiliary class for whales/dolphins.</p>",
      "rawMarkdown": "Might also be worth to add `\"beluga\": \"beluga_whale\"` in the mix if you want to create an auxiliary class for whales/dolphins.",
      "votes": null
    },
    {
      "id": "1678507",
      "postDate": "02/06/2022 15:22:37",
      "content": "<p>A lot of whales are dolphin in fact (killer whale, for example) , so, I'd recommend do more replacement for it :) see my <a href=\"https://www.kaggle.com/kwentar/what-about-species\" target=\"_blank\">notebook</a> for details </p>",
      "rawMarkdown": "A lot of whales are dolphin in fact (killer whale, for example) , so, I'd recommend do more replacement for it :) see my [notebook](https://www.kaggle.com/kwentar/what-about-species) for details",
      "votes": null
    },
    {
      "id": "1698119",
      "postDate": "02/20/2022 06:48:08",
      "content": "<p>Thanks for sharing👍</p>",
      "rawMarkdown": "Thanks for sharing👍",
      "votes": null
    },
    {
      "id": "1706140",
      "postDate": "02/27/2022 08:32:58",
      "content": "<p>Thanks for sharing</p>",
      "rawMarkdown": "Thanks for sharing",
      "votes": null
    },
    {
      "id": "1707288",
      "postDate": "02/28/2022 09:27:15",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/kwentar\" target=\"_blank\">@kwentar</a>, congrats for your courage.</p>",
      "rawMarkdown": "Hi @kwentar, congrats for your courage.",
      "votes": null
    },
    {
      "id": "1707664",
      "postDate": "02/28/2022 17:10:56",
      "content": "<p>Thank you!</p>",
      "rawMarkdown": "Thank you!",
      "votes": null
    },
    {
      "id": "1712877",
      "postDate": "03/05/2022 12:58:47",
      "content": "<p>but is it safe to change the names?</p>",
      "rawMarkdown": "but is it safe to change the names?",
      "votes": null
    },
    {
      "id": "1712884",
      "postDate": "03/05/2022 13:04:12",
      "content": "<p>Yeap, competition host approved these changes</p>",
      "rawMarkdown": "Yeap, competition host approved these changes",
      "votes": null
    },
    {
      "id": "1712891",
      "postDate": "03/05/2022 13:07:30",
      "content": "<p>see this <a href=\"https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/305468#1677103\" target=\"_blank\">https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/305468#1677103</a></p>",
      "rawMarkdown": "see this https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/305468#1677103",
      "votes": null
    },
    {
      "id": "1712903",
      "postDate": "03/05/2022 13:19:04",
      "content": "<p>Got it, thanks!</p>",
      "rawMarkdown": "Got it, thanks!",
      "votes": null
    },
    {
      "id": "1718917",
      "postDate": "03/11/2022 09:38:52",
      "content": "<p>Thank for the information!</p>",
      "rawMarkdown": "Thank for the information!",
      "votes": null
    },
    {
      "id": "1725173",
      "postDate": "03/16/2022 21:53:27",
      "content": "<p>Thanks for the information! :)</p>",
      "rawMarkdown": "Thanks for the information! :)",
      "votes": null
    },
    {
      "id": "1735704",
      "postDate": "03/26/2022 14:33:39",
      "content": "<p>Thanks for the info, that is usefull information</p>",
      "rawMarkdown": "Thanks for the info, that is usefull information",
      "votes": null
    },
    {
      "id": "1737278",
      "postDate": "03/28/2022 09:45:12",
      "content": "<p>Thanks for this info.</p>",
      "rawMarkdown": "Thanks for this info.",
      "votes": null
    },
    {
      "id": "1745272",
      "postDate": "04/04/2022 20:13:29",
      "content": "<p>Thank you. Very helpful!</p>",
      "rawMarkdown": "Thank you. Very helpful!",
      "votes": null
    },
    {
      "id": "1749343",
      "postDate": "04/08/2022 13:19:47",
      "content": "<p>Thank you. Very helpful!</p>",
      "rawMarkdown": "Thank you. Very helpful!",
      "votes": null
    },
    {
      "id": "1750436",
      "postDate": "04/09/2022 16:33:34",
      "content": "<p>Thanks for this info!</p>",
      "rawMarkdown": "Thanks for this info!",
      "votes": null
    },
    {
      "id": "1756486",
      "postDate": "04/15/2022 14:58:35",
      "content": "<p>Thanks for this, it was helpful!</p>",
      "rawMarkdown": "Thanks for this, it was helpful!",
      "votes": null
    },
    {
      "id": "1759777",
      "postDate": "04/18/2022 22:11:42",
      "content": "<p>Thank you. It‘s very helpful</p>",
      "rawMarkdown": "Thank you. It‘s very helpful",
      "votes": null
    },
    {
      "id": "1797343",
      "postDate": "05/21/2022 21:22:08",
      "content": "<p>Thank you!</p>",
      "rawMarkdown": "Thank you!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1678278,
      "author_name": "tvaranka",
      "author_url": "",
      "post_date": "02/06/2022 12:07:42",
      "content": "<p>Might also be worth to add <code>\"beluga\": \"beluga_whale\"</code> in the mix if you want to create an auxiliary class for whales/dolphins.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1678507,
          "author_name": "kwentar",
          "author_url": "",
          "post_date": "02/06/2022 15:22:37",
          "content": "<p>A lot of whales are dolphin in fact (killer whale, for example) , so, I'd recommend do more replacement for it :) see my <a href=\"https://www.kaggle.com/kwentar/what-about-species\" target=\"_blank\">notebook</a> for details </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1698119,
      "author_name": "imnoob",
      "author_url": "",
      "post_date": "02/20/2022 06:48:08",
      "content": "<p>Thanks for sharing👍</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1706140,
      "author_name": "bbkhdh",
      "author_url": "",
      "post_date": "02/27/2022 08:32:58",
      "content": "<p>Thanks for sharing</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1707288,
      "author_name": "pourchot",
      "author_url": "",
      "post_date": "02/28/2022 09:27:15",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/kwentar\" target=\"_blank\">@kwentar</a>, congrats for your courage.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1707664,
          "author_name": "kwentar",
          "author_url": "",
          "post_date": "02/28/2022 17:10:56",
          "content": "<p>Thank you!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1712877,
      "author_name": "apeiron13",
      "author_url": "",
      "post_date": "03/05/2022 12:58:47",
      "content": "<p>but is it safe to change the names?</p>",
      "votes": null,
      "replies": [
        {
          "id": 1712884,
          "author_name": "kwentar",
          "author_url": "",
          "post_date": "03/05/2022 13:04:12",
          "content": "<p>Yeap, competition host approved these changes</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1712891,
          "author_name": "kwentar",
          "author_url": "",
          "post_date": "03/05/2022 13:07:30",
          "content": "<p>see this <a href=\"https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/305468#1677103\" target=\"_blank\">https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/305468#1677103</a></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1712903,
          "author_name": "apeiron13",
          "author_url": "",
          "post_date": "03/05/2022 13:19:04",
          "content": "<p>Got it, thanks!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1718917,
      "author_name": "rachidrahal",
      "author_url": "",
      "post_date": "03/11/2022 09:38:52",
      "content": "<p>Thank for the information!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1725173,
      "author_name": "vduchauffour",
      "author_url": "",
      "post_date": "03/16/2022 21:53:27",
      "content": "<p>Thanks for the information! :)</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1735704,
      "author_name": "vincomnis",
      "author_url": "",
      "post_date": "03/26/2022 14:33:39",
      "content": "<p>Thanks for the info, that is usefull information</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1737278,
      "author_name": "paoloantonuccio",
      "author_url": "",
      "post_date": "03/28/2022 09:45:12",
      "content": "<p>Thanks for this info.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1745272,
      "author_name": "julianofischer",
      "author_url": "",
      "post_date": "04/04/2022 20:13:29",
      "content": "<p>Thank you. Very helpful!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1749343,
      "author_name": "dandanvol03",
      "author_url": "",
      "post_date": "04/08/2022 13:19:47",
      "content": "<p>Thank you. Very helpful!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1750436,
      "author_name": "yugew11",
      "author_url": "",
      "post_date": "04/09/2022 16:33:34",
      "content": "<p>Thanks for this info!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1756486,
      "author_name": "kyleprins0",
      "author_url": "",
      "post_date": "04/15/2022 14:58:35",
      "content": "<p>Thanks for this, it was helpful!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1759777,
      "author_name": "",
      "author_url": "",
      "post_date": "04/18/2022 22:11:42",
      "content": "<p>Thank you. It‘s very helpful</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1797343,
      "author_name": "wladimirtaratutin",
      "author_url": "",
      "post_date": "05/21/2022 21:22:08",
      "content": "<p>Thank you!</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1677670": "```\ntrain_df = pd.read_csv(train_csv)\ntrain_df.species.replace({\"globis\": \"short_finned_pilot_whale\",\n                          \"pilot_whale\": \"short_finned_pilot_whale\",\n                          \"kiler_whale\": \"killer_whale\",\n                          \"bottlenose_dolpin\": \"bottlenose_dolphin\"}, inplace=True)\n```",
    "1678278": "Might also be worth to add `\"beluga\": \"beluga_whale\"` in the mix if you want to create an auxiliary class for whales/dolphins.",
    "1678507": "A lot of whales are dolphin in fact (killer whale, for example) , so, I'd recommend do more replacement for it :) see my [notebook](https://www.kaggle.com/kwentar/what-about-species) for details",
    "1698119": "Thanks for sharing👍",
    "1706140": "Thanks for sharing",
    "1707288": "Hi @kwentar, congrats for your courage.",
    "1707664": "Thank you!",
    "1712877": "but is it safe to change the names?",
    "1712884": "Yeap, competition host approved these changes",
    "1712891": "see this https://www.kaggle.com/c/happy-whale-and-dolphin/discussion/305468#1677103",
    "1712903": "Got it, thanks!",
    "1718917": "Thank for the information!",
    "1725173": "Thanks for the information! :)",
    "1735704": "Thanks for the info, that is usefull information",
    "1737278": "Thanks for this info.",
    "1745272": "Thank you. Very helpful!",
    "1749343": "Thank you. Very helpful!",
    "1750436": "Thanks for this info!",
    "1756486": "Thanks for this, it was helpful!",
    "1759777": "Thank you. It‘s very helpful",
    "1797343": "Thank you!"
  },
  "source": "meta"
}