从所有组/数据集中删除HDF5中的特定索引,并以H5格式保存新数据

发布于 2025-02-09 22:27:32 字数 317 浏览 2 评论 0原文

我想从我的hdf5文件中的所有数据集中删除一些indices(行)

图片中给出了我的HDF5的结构:

“我的HDF5的结构在图片中给出“

我每个组都有许多组和许多数据集。一些组的子组包含数据集。每个数据集中的行总数相同,因此我要删除的行的索引相同。我想保存具有与旧结构相同的结构的HDF5文件。我找不到有效的方法或代码来执行此操作。

I want to delete some indices(rows) from all the datasets in my HDF5 file.

The structure of my HDF5 is given in the picture:

The structure of my HDF5 is given in the picture.

I have a number of groups and a number of datasets in each group. Some groups have subgroups that contain the datasets. The total number of rows in each dataset is the same, so the indices of the rows I want to remove are the same. I want to save the HDF5 file with the same structure as the old one. I am unable to find an efficient way or code to do it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文