pandas.HDFStore.is_open#
- property HDFStore.is_open[source]#
Return a boolean indicating whether the file is open.
HDFStoreinstances open the underlying PyTables file in their constructor, but the file can be closed and reopened on the same instance viaclose()andopen().See also
HDFStore.openOpen the underlying file in the specified mode.
HDFStore.closeClose the underlying PyTables file handle.
Examples
>>> store = pd.HDFStore("store.h5", "w") >>> store.is_open True >>> store.close() >>> store.is_open False