You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rename and update LHDFStore + add open_hdf (like in xw_excel.py) #614
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.
TODO:
open_hdffunctionput(key, value, attrs)method:filepathof Axis/Group/LArray.to_hdf to tell it can also be a LHDFStore instance