{
  "id": 484539,
  "title": "Why do eeg_id and spectrogram_id have different unique quantities?",
  "url": "/competitions/hms-harmful-brain-activity-classification/discussion/484539",
  "author_name": "",
  "post_date": "2024-03-17T06:30:07.754432700Z",
  "votes": null,
  "comment_count": 3,
  "views": 0,
  "content": "<p>In the data description, both of these were described as 'A unique identifier for the entire EEG recording'. However, there is a difference between these unique quantities.<br>Also, there were no missing values in each column.<br>Does this indicate that the same spectrogram_id is assigned to several different eeg_ids?</p>\n<p><br><br>\nSorry if this is a misguided question as I am a beginner.</p>\n<pre><code>train = pd.read_csv()\n(train.groupby().head().reset_index(drop=).shape)\n(train.groupby().head().reset_index(drop=).shape)\n\n\n(, )\n(, )\n</code></pre>",
  "messages": [
    {
      "id": "2701624",
      "postDate": "03/17/2024 06:30:07",
      "content": "<p>In the data description, both of these were described as 'A unique identifier for the entire EEG recording'. However, there is a difference between these unique quantities.<br>Also, there were no missing values in each column.<br>Does this indicate that the same spectrogram_id is assigned to several different eeg_ids?</p>\n<p><br><br>\nSorry if this is a misguided question as I am a beginner.</p>\n<pre><code>train = pd.read_csv()\n(train.groupby().head().reset_index(drop=).shape)\n(train.groupby().head().reset_index(drop=).shape)\n\n\n(, )\n(, )\n</code></pre>",
      "rawMarkdown": "In the data description, both of these were described as 'A unique identifier for the entire EEG recording'. However, there is a difference between these unique quantities.<br>Also, there were no missing values in each column.<br>Does this indicate that the same spectrogram_id is assigned to several different eeg_ids?\n\n<br>\nSorry if this is a misguided question as I am a beginner.\n\n```python\ntrain = pd.read_csv('/kaggle/input/hms-harmful-brain-activity-classification/train.csv')\nprint(train.groupby('eeg_id').head(1).reset_index(drop=True).shape)\nprint(train.groupby('spectrogram_id').head(1).reset_index(drop=True).shape)\n  \n# unique num of eed_id and spectrogram_id are different\n(17089, 15)\n(11138, 15)\n```",
      "votes": null
    },
    {
      "id": "2702471",
      "postDate": "03/17/2024 16:46:44",
      "content": "<p>Yes - there are some very good posts that discuss this topic.</p>\n<p>Sort the posts by most votes and you can spot them.</p>",
      "rawMarkdown": "Yes - there are some very good posts that discuss this topic.\n\nSort the posts by most votes and you can spot them.",
      "votes": null
    },
    {
      "id": "2702990",
      "postDate": "03/17/2024 23:27:13",
      "content": "<p>Thanks for letting me know!<br>\nI'll look for it right away.</p>",
      "rawMarkdown": "Thanks for letting me know!\nI'll look for it right away.",
      "votes": null
    },
    {
      "id": "2703137",
      "postDate": "03/18/2024 03:15:37",
      "content": "<p>I got an answer from this notebook.<br>\nThank you so much for your reply!<br>\n<a href=\"url\" target=\"_blank\">https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/467058</a></p>",
      "rawMarkdown": "I got an answer from this notebook.\nThank you so much for your reply!\n[https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/467058](url)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2702471,
      "author_name": "pcjimmmy",
      "author_url": "",
      "post_date": "03/17/2024 16:46:44",
      "content": "<p>Yes - there are some very good posts that discuss this topic.</p>\n<p>Sort the posts by most votes and you can spot them.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2702990,
          "author_name": "moyuto",
          "author_url": "",
          "post_date": "03/17/2024 23:27:13",
          "content": "<p>Thanks for letting me know!<br>\nI'll look for it right away.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 2703137,
          "author_name": "moyuto",
          "author_url": "",
          "post_date": "03/18/2024 03:15:37",
          "content": "<p>I got an answer from this notebook.<br>\nThank you so much for your reply!<br>\n<a href=\"url\" target=\"_blank\">https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/467058</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2701624": "In the data description, both of these were described as 'A unique identifier for the entire EEG recording'. However, there is a difference between these unique quantities.<br>Also, there were no missing values in each column.<br>Does this indicate that the same spectrogram_id is assigned to several different eeg_ids?\n\n<br>\nSorry if this is a misguided question as I am a beginner.\n\n```python\ntrain = pd.read_csv('/kaggle/input/hms-harmful-brain-activity-classification/train.csv')\nprint(train.groupby('eeg_id').head(1).reset_index(drop=True).shape)\nprint(train.groupby('spectrogram_id').head(1).reset_index(drop=True).shape)\n  \n# unique num of eed_id and spectrogram_id are different\n(17089, 15)\n(11138, 15)\n```",
    "2702471": "Yes - there are some very good posts that discuss this topic.\n\nSort the posts by most votes and you can spot them.",
    "2702990": "Thanks for letting me know!\nI'll look for it right away.",
    "2703137": "I got an answer from this notebook.\nThank you so much for your reply!\n[https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/467058](url)"
  },
  "source": "meta"
}