Skip to main content
`Ctrl`+`K`

# pandas.errors.PossibleDataLossError

exception pandas.errors.PossibleDataLossError

  Exception raised when trying to open an HDFStore file when already opened.

  This error is triggered when there is a potential risk of data loss due to conflicting operations on an HDFStore file. It serves to prevent unintended overwrites or data corruption by enforcing exclusive access to the file.

  See also

  `HDFStore`

    Dict-like IO interface for storing pandas objects in PyTables.

  `HDFStore.open`

    Open an HDFStore file in the specified mode.

  Examples

      >>> store = pd.HDFStore("my-store", "a")
      >>> store.open("w")