You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since ma.MaskedArray inherits from ndarray, all ndarray methods are inherited, but with exception of ufuncs, such inheritance is ill-advised and may lead to silent data corruption:
>>> x = ma.masked_all(5)
>>> x.item(0)
-1.2882297539194267e-231
The list of such methods includes:
choose
dumps
dump
item
partition
argpartition
fill
searchsorted
dot
I would classify this issue as a bug, but a fix can be as simple as making these methods raise NotImplementedError.
The text was updated successfully, but these errors were encountered:
Since ma.MaskedArray inherits from ndarray, all ndarray methods are inherited, but with exception of ufuncs, such inheritance is ill-advised and may lead to silent data corruption:
The list of such methods includes:
I would classify this issue as a bug, but a fix can be as simple as making these methods raise NotImplementedError.
The text was updated successfully, but these errors were encountered: