Not sure if there are any differences in performance, but you might try using ```.value``` instead to pull out a numpy array:

```
obs_ids = h5grp['observations/ids'].value
```