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

Method all

qlib/utils/index_data.py:514–518  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

512 return len(self.data[~np.isnan(self.data)])
513
514 def all(self):
515 if None in self.data:
516 return self.data[self.data is not None].all()
517 else:
518 return self.data.all()
519
520 @property
521 def empty(self):

Callers 15

test_decompositionMethod · 0.45
test_0_trainMethod · 0.45
test_MinMaxNormMethod · 0.45
test_ZScoreNormMethod · 0.45
test_CSZFillnaMethod · 0.45
test_CSZScoreNormMethod · 0.45
testTSDatasetMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_decompositionMethod · 0.36
test_0_trainMethod · 0.36
test_MinMaxNormMethod · 0.36
test_ZScoreNormMethod · 0.36
test_CSZFillnaMethod · 0.36
test_CSZScoreNormMethod · 0.36
testTSDatasetMethod · 0.36