-
Notifications
You must be signed in to change notification settings - Fork 6
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
rename and update LHDFStore + add open_hdf (like in xw_excel.py) #614
Comments
@gdementen feel free to update to update my first comment. |
We could also go the other way round and deprecate open_excel. I am unsure about this. I never liked open_excel but maybe this is more intuitive for users??? We should make a poll :) |
The main reason for this issue is that I want to handle the case where users load or save an HDF file object by object (for whatever reason) without opening and closing the file for each object (like what happens when you use to_hdf/read_hdf). Maybe renaming LHDFStore and making it into a Session subclass (eg HDFSession) is the right thing to do. In that case, we will need to also make open_excel return an ExcelSession too. It seems like a good idea now, but this is probably hard to achieve because excel.Sheet objects are not really LArrays. In fact, I think they should be (or some subclass of them like LazyLArray), and their .data field should point to the sheet range. Probably a great thing but huge refactor would be necessary to achieve that. |
See PR #761 |
TODO:
open_hdf
functionput(key, value, attrs)
method:filepath
of Axis/Group/LArray.to_hdf to tell it can also be a LHDFStore instanceThe text was updated successfully, but these errors were encountered: