Wow, thanks for pointing these out! I have been using masked arrays for quite a while now, but I never noticed these before!
Cheers! Ben Root On Sun, Dec 28, 2014 at 3:35 PM, Yuxiang Wang <[email protected]> wrote: > Hi Ralf, > > Thanks for the quick response! I will submit a PR soon. I noticed > there are some other functions with outdated examples, such as > numpy.ma.notmasked_contiguous() (still using the > numpy.ma.extras.notmasked_contiguous). > > -Shawn > > On Sun, Dec 28, 2014 at 3:04 PM, Ralf Gommers <[email protected]> > wrote: > > > > > > On Sun, Dec 28, 2014 at 8:48 PM, Yuxiang Wang <[email protected]> > wrote: > >> > >> Dear all, > >> > >> I am really glad to find out a very useful function called > >> numpy.ma.extras.clump_masked(), and it is indeed well documented if > >> you look into the source. However, may I ask why does it not show up > >> in the main documentation website > >> (http://docs.scipy.org/doc/numpy/reference/routines.ma.html)? > > > > > > Because they (there's also clump_unmasked) weren't added to the function > > list in doc/source/reference/routines.ma.rst. Care to send a PR for that? > > > > Other todo there is to fix up the examples, they should be used as > > np.ma.clump_masked not np.ma.extras.clump_masked. > > > > Cheers, > > Ralf > > > > > >> > >> > >> Not a big deal, just being curious. > >> > >> Shawn > >> > >> -- > >> Yuxiang "Shawn" Wang > >> Gerling Research Lab > >> University of Virginia > >> [email protected] > >> +1 (434) 284-0836 > >> https://sites.google.com/a/virginia.edu/yw5aj/ > >> _______________________________________________ > >> NumPy-Discussion mailing list > >> [email protected] > >> http://mail.scipy.org/mailman/listinfo/numpy-discussion > > > > > > > > _______________________________________________ > > NumPy-Discussion mailing list > > [email protected] > > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > > > > > -- > Yuxiang "Shawn" Wang > Gerling Research Lab > University of Virginia > [email protected] > +1 (434) 284-0836 > https://sites.google.com/a/virginia.edu/yw5aj/ > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
