{
  "id": 364887,
  "title": "Importing the hdf5 File as a Pandas Dataframe",
  "url": "/competitions/g2net-detecting-continuous-gravitational-waves/discussion/364887",
  "author_name": "Ian Harris",
  "post_date": "2022-11-08T21:21:37.351000",
  "votes": 0,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hi, I seem to be having some trouble importing the hdf5 files to upload them into a pandas database to work with the data. I am currently using 'pd.read_hdf(filename).' Is there a better way to go about this?</p>\n<p>Thank you,<br>\nIan</p>",
  "messages": [
    {
      "id": 2026012,
      "postDate": "2022-11-11T16:59:08.150Z",
      "content": "<p>The documentation of <code>pandas.read_hdf</code> explains:</p>\n<blockquote>\n  <p>Retrieve pandas object stored in file, optionally based on where criteria.</p>\n</blockquote>\n<p>Which is not the case (there is no pandas dataframe stored in our HDF5 data). You have to retrieve the data in a different way. If you dont know further you could look under <code>Code</code> and check some public notebooks on how to achieve that.</p>",
      "rawMarkdown": "The documentation of `pandas.read_hdf` explains:\n\n> Retrieve pandas object stored in file, optionally based on where criteria.\n\nWhich is not the case (there is no pandas dataframe stored in our HDF5 data). You have to retrieve the data in a different way. If you dont know further you could look under `Code` and check some public notebooks on how to achieve that."
    },
    {
      "id": 2023771,
      "postDate": "2022-11-10T03:13:03.697Z",
      "content": "<p>👀👀👀👀👀👀👀👀👀👀👀👀</p>",
      "rawMarkdown": "👀👀👀👀👀👀👀👀👀👀👀👀"
    },
    {
      "id": 2022252,
      "postDate": "2022-11-08T21:21:37.353Z",
      "content": "<p>Hi, I seem to be having some trouble importing the hdf5 files to upload them into a pandas database to work with the data. I am currently using 'pd.read_hdf(filename).' Is there a better way to go about this?</p>\n<p>Thank you,<br>\nIan</p>",
      "rawMarkdown": "Hi, I seem to be having some trouble importing the hdf5 files to upload them into a pandas database to work with the data. I am currently using 'pd.read_hdf(filename).' Is there a better way to go about this?\n\nThank you,\nIan"
    }
  ],
  "comments": [
    {
      "id": 2026012,
      "author_name": "Ali Abdin",
      "author_url": "",
      "post_date": "2022-11-11T16:59:08.150000",
      "content": "<p>The documentation of <code>pandas.read_hdf</code> explains:</p>\n<blockquote>\n  <p>Retrieve pandas object stored in file, optionally based on where criteria.</p>\n</blockquote>\n<p>Which is not the case (there is no pandas dataframe stored in our HDF5 data). You have to retrieve the data in a different way. If you dont know further you could look under <code>Code</code> and check some public notebooks on how to achieve that.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2023771,
      "author_name": "Redma",
      "author_url": "",
      "post_date": "2022-11-10T03:13:03.697000",
      "content": "<p>👀👀👀👀👀👀👀👀👀👀👀👀</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2026012": "The documentation of `pandas.read_hdf` explains:\n\n> Retrieve pandas object stored in file, optionally based on where criteria.\n\nWhich is not the case (there is no pandas dataframe stored in our HDF5 data). You have to retrieve the data in a different way. If you dont know further you could look under `Code` and check some public notebooks on how to achieve that.",
    "2023771": "👀👀👀👀👀👀👀👀👀👀👀👀",
    "2022252": "Hi, I seem to be having some trouble importing the hdf5 files to upload them into a pandas database to work with the data. I am currently using 'pd.read_hdf(filename).' Is there a better way to go about this?\n\nThank you,\nIan"
  }
}