Skip to main content
`Ctrl`+`K`

# pandas.HDFStore.is_open

property HDFStore.is_open

  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