-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: Read entire group of an HDF5 file in a single call #6833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think this would be better if it returned this: {'df': {'foo1': store.select('foo1'), 'foo2': store.select('foo2')}} or {'foo1': store.select('foo1'), 'foo2': store.select('foo2')} Users can do the concat afterwards if they want to. This shouldn't assume that the frames are the same shape, dtype etc. For example, I have different metrics related to one "thing" all under one key, like
I don't want to concatenate the result but I often want to get just the with store.get_group('df') as group:
foo1 = group['foo1'] |
the issue I have with this is that its tricky to pass a |
I like the idea of returning a dict as well. What about something like this?:
|
See this question in SO.
I guess that something like
store.get_group('df')
might do the job:I never did a pull request before, nor tried to dive into pandas code, but I guess that a possible implementation (inspired in this answer) would be something like:
The text was updated successfully, but these errors were encountered: