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

Method isna

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

Source from the content-addressed store, hash-verified

500 raise ValueError(f"axis must be None, 0 or 1")
501
502 def isna(self):
503 return self.__class__(np.isnan(self.data), *self.indices)
504
505 def fillna(self, value=0.0, inplace: bool = False):
506 if inplace:

Callers 15

calc_adjusted_priceFunction · 0.80
calc_paused_numFunction · 0.80
test_1_backtestMethod · 0.80
test_CSZFillnaMethod · 0.80
test_corner_casesMethod · 0.80
calc_stat_valuesMethod · 0.80
calc_stat_valuesMethod · 0.80
drop_nan_by_y_indexFunction · 0.80
_agg_dataMethod · 0.80
get_daily_bin_groupFunction · 0.80

Calls

no outgoing calls

Tested by 4

test_1_backtestMethod · 0.64
test_CSZFillnaMethod · 0.64
test_corner_casesMethod · 0.64