max_pct_missing not working
Closed this issue · 6 comments
doutriaux1 commented
running Test/test_stats_missing.py
dnadeau4 commented
Can you give me more details.
doutriaux1 commented
did you look at the test?
doutriaux1 commented
i think there was case where the max_pct missing was set and we were still getting data back and/or vice-versa
doutriaux1 commented
from the test we might have fixed this already
doutriaux1 commented
import MV2,numpy,genutil
a=MV2.array([1,2,3,4,5],mask=[0,0,1,0,0])
for m in numpy.arange(0,100.,.25):
print m, genutil.statistics.std(a,max_pct_missing=m)
seems to give the correct results.
github-actions commented
Marking issue as stale, since there has been no activity in 30 days.
Unless the issue is updated or the 'stale' tag is removed, this issue will be closed in 7 days.