[Numpy-discussion] comments on r_ and c_ ?

Bill Baxter wbaxter at gmail.com
Mon Aug 7 00:02:05 CDT 2006


On 8/1/06, Travis Oliphant <oliphant.travis at ieee.org> wrote:
> Bill Baxter wrote:
> > When you have a chance, could the powers that be make some comment on
> > the r_ and c_ situation?
> r_ and c_ were in SciPy and have been there for several years.
>
> For NumPy, c_ has been deprecated (but not removed because it is used in
> SciPy).
>
> The functionality of c_ is in r_  so it doesn't add anything.

I don't see how r_ offers the ability to stack columns like this:

>>> c_[ [[0],[1],[2]], [[4],[5],[6]] ]
array([[0, 4],
       [1, 5],
       [2, 6]])

> There is going to be overlap with long-name functions because of
> this.     I have not had time to review Bill's suggestions yet --- were
> they filed as a ticket?  A ticket is the best way to keep track of
> issues at this point.

I just filed it as #235.  But then I noticed I had already filed it
previously as #201.  Sorry about that.  Anyway it's definitely in
there now.

Regards,
--Bill




More information about the Numpy-discussion mailing list