{
  "id": 382011,
  "title": "how to understand the index referring to in first_pulse_index and last_pulse_index",
  "url": "/competitions/icecube-neutrinos-in-deep-ice/discussion/382011",
  "author_name": "",
  "post_date": "2023-01-29T06:28:08.393880900Z",
  "votes": 2,
  "comment_count": 2,
  "views": 0,
  "content": "<p>hi,<br>\ni am  not quite understand what the index refers to in first_pulse_index and last_pulse_index.</p>",
  "messages": [
    {
      "id": "2119841",
      "postDate": "01/29/2023 06:28:08",
      "content": "<p>hi,<br>\ni am  not quite understand what the index refers to in first_pulse_index and last_pulse_index.</p>",
      "rawMarkdown": "hi,\ni am  not quite understand what the index refers to in first_pulse_index and last_pulse_index.",
      "votes": null
    },
    {
      "id": "2120326",
      "postDate": "01/29/2023 14:10:19",
      "content": "<p>They are the indices (row number, 0-based) in the batch_&lt;x&gt; file where you can find that event_id.  You don't need it if you go by event_id in the batch file, but you might find it helpful instead of searching.</p>",
      "rawMarkdown": "They are the indices (row number, 0-based) in the batch_<x\\> file where you can find that event_id.  You don't need it if you go by event_id in the batch file, but you might find it helpful instead of searching.",
      "votes": null
    },
    {
      "id": "2122394",
      "postDate": "01/30/2023 22:47:25",
      "content": "<p>it is just to improve the speed of data processing.<br>\nyou could use df[df.batch_id == 1]<br>\nor df.loc[first_palse:last_palse]<br>\nthe second option runs faster.</p>",
      "rawMarkdown": "it is just to improve the speed of data processing.\nyou could use df[df.batch_id == 1]\nor df.loc[first_palse:last_palse]\nthe second option runs faster.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2120326,
      "author_name": "solverworld",
      "author_url": "",
      "post_date": "01/29/2023 14:10:19",
      "content": "<p>They are the indices (row number, 0-based) in the batch_&lt;x&gt; file where you can find that event_id.  You don't need it if you go by event_id in the batch file, but you might find it helpful instead of searching.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2122394,
      "author_name": "mohammadrahmati",
      "author_url": "",
      "post_date": "01/30/2023 22:47:25",
      "content": "<p>it is just to improve the speed of data processing.<br>\nyou could use df[df.batch_id == 1]<br>\nor df.loc[first_palse:last_palse]<br>\nthe second option runs faster.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2119841": "hi,\ni am  not quite understand what the index refers to in first_pulse_index and last_pulse_index.",
    "2120326": "They are the indices (row number, 0-based) in the batch_<x\\> file where you can find that event_id.  You don't need it if you go by event_id in the batch file, but you might find it helpful instead of searching.",
    "2122394": "it is just to improve the speed of data processing.\nyou could use df[df.batch_id == 1]\nor df.loc[first_palse:last_palse]\nthe second option runs faster."
  },
  "source": "meta"
}