pandas.HDFStore.is_open#

property HDFStore.is_open[source]#

Return a boolean indicating whether the file is open.

HDFStore instances open the underlying PyTables file in their constructor, but the file can be closed and reopened on the same instance via close() and open().

See also

HDFStore.open

Open the underlying file in the specified mode.

HDFStore.close

Close the underlying PyTables file handle.

Examples

>>> store = pd.HDFStore("store.h5", "w")
>>> store.is_open
True
>>> store.close()
>>> store.is_open
False