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 acc
| 838 | |
| 839 | |
| 840 | class PossibleDataLossError(Exception): |
| 841 | """ |
| 842 | Exception raised when trying to open an HDFStore file when already opened. |
| 843 | |
| 844 | This error is triggered when there is a potential risk of data loss due to |
| 845 | conflicting operations on an HDFStore file. It serves to prevent unintended |
| 846 | overwrites or data corruption by enforcing exclusive access to the file. |
| 847 | |
| 848 | See Also |
| 849 | -------- |
| 850 | HDFStore : Dict-like IO interface for storing pandas objects in PyTables. |
| 851 | HDFStore.open : Open an HDFStore file in the specified mode. |
| 852 | |
| 853 | Examples |
| 854 | -------- |
| 855 | >>> store = pd.HDFStore("my-store", "a") # doctest: +SKIP |
| 856 | >>> store.open("w") # doctest: +SKIP |
| 857 | """ |
| 858 | |
| 859 | |
| 860 | class ClosedFileError(Exception): |