pandas.errors.ClosedFileError — pandas 2.2.3 documentation (original) (raw)

exception pandas.errors.ClosedFileError[source]#

Exception is raised when trying to perform an operation on a closed HDFStore file.

Examples

store = pd.HDFStore('my-store', 'a') store.close() store.keys() ... # ClosedFileError: my-store file is not open!