[Numpy-discussion] Why is numpy.ma.extras.clump_masked() not in main documentation?

Benjamin Root ben.root at ou.edu
Tue Dec 30 11:58:04 EST 2014


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 <yw5aj at virginia.edu> 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 <ralf.gommers at gmail.com>
> wrote:
> >
> >
> > On Sun, Dec 28, 2014 at 8:48 PM, Yuxiang Wang <yw5aj at virginia.edu>
> 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
> >> yw5aj at virginia.edu
> >> +1 (434) 284-0836
> >> https://sites.google.com/a/virginia.edu/yw5aj/
> >> _______________________________________________
> >> NumPy-Discussion mailing list
> >> NumPy-Discussion at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/numpy-discussion
> >
> >
> >
> > _______________________________________________
> > NumPy-Discussion mailing list
> > NumPy-Discussion at scipy.org
> > http://mail.scipy.org/mailman/listinfo/numpy-discussion
> >
>
>
>
> --
> Yuxiang "Shawn" Wang
> Gerling Research Lab
> University of Virginia
> yw5aj at virginia.edu
> +1 (434) 284-0836
> https://sites.google.com/a/virginia.edu/yw5aj/
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141230/ca2c234f/attachment.html>


More information about the NumPy-Discussion mailing list