Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_random_covariance
Method · 0.45
test_nan_option_covariance
Method · 0.45
test_constructed_covariance
Method · 0.45
test_decomposition
Method · 0.45
test_0_train
Method · 0.45
test_4_dump_features_simple
Method · 0.45
test_MinMaxNorm
Method · 0.45
test_ZScoreNorm
Method · 0.45
test_CSZFillna
Method · 0.45
test_CSZScoreNorm
Method · 0.45
testTSDataset
Method · 0.45
test_simulator_first_step
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_random_covariance
Method · 0.36
test_nan_option_covariance
Method · 0.36
test_constructed_covariance
Method · 0.36
test_decomposition
Method · 0.36
test_0_train
Method · 0.36
test_4_dump_features_simple
Method · 0.36
test_MinMaxNorm
Method · 0.36
test_ZScoreNorm
Method · 0.36
test_CSZFillna
Method · 0.36
test_CSZScoreNorm
Method · 0.36
testTSDataset
Method · 0.36
test_simulator_first_step
Function · 0.36