MCPcopy Create free account
hub / github.com/microsoft/qlib / _is_proc_readonly

Method _is_proc_readonly

qlib/data/dataset/handler.py:544–551  ·  view source on GitHub ↗

NOTE: it will return True if `len(proc_l) == 0`

(proc_l: List[processor_module.Processor])

Source from the content-addressed store, hash-verified

542
543 @staticmethod
544 def _is_proc_readonly(proc_l: List[processor_module.Processor]):
545 """
546 NOTE: it will return True if `len(proc_l) == 0`
547 """
548 for p in proc_l:
549 if not p.readonly():
550 return False
551 return True
552
553 def process_data(self, with_fit: bool = False):
554 """

Callers 1

process_dataMethod · 0.95

Calls 1

readonlyMethod · 0.45

Tested by

no test coverage detected