MCPcopy
hub / github.com/microsoft/qlib / update

Method update

qlib/data/cache.py:828–831  ·  view source on GitHub ↗
(self, data, sync=True)

Source from the content-addressed store, hash-verified

826 self._data = pd.DataFrame()
827
828 def update(self, data, sync=True):
829 self._data = data.astype(np.int32).copy()
830 if sync:
831 self.sync_to_disk()
832
833 def append_index(self, data, to_disk=True):
834 data = data.astype(np.int32).copy()

Callers 1

gen_dataset_cacheMethod · 0.95

Calls 2

sync_to_diskMethod · 0.95
copyMethod · 0.80

Tested by

no test coverage detected