(self, data, to_disk=True)
| 831 | self.sync_to_disk() |
| 832 | |
| 833 | def append_index(self, data, to_disk=True): |
| 834 | data = data.astype(np.int32).copy() |
| 835 | data.sort_index(inplace=True) |
| 836 | self._data = pd.concat([self._data, data]) |
| 837 | if to_disk: |
| 838 | with pd.HDFStore(self.index_path) as store: |
| 839 | store.append(self.KEY, data, append=True) |
| 840 | |
| 841 | @staticmethod |
| 842 | def build_index_from_data(data, start_index=0): |
no test coverage detected