[Numpy-tickets] [NumPy] #235: r_, c_, hstack, vstack, column_stack should be made more consistent

NumPy numpy-tickets at scipy.net
Sun Aug 6 23:44:21 CDT 2006


#235: r_, c_, hstack, vstack, column_stack should be made more consistent
-------------------------+--------------------------------------------------
 Reporter:  baxissimo    |        Owner:  somebody
     Type:  enhancement  |       Status:  new     
 Priority:  normal       |    Milestone:          
Component:  numpy.lib    |      Version:  devel   
 Severity:  normal       |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by baxissimo):

 One more comment taken from the mailing list discussion on this topic:


   r_ is kind of schitzophrenic now in that it acts *either* as
 "concatenate rows   (vstack-like, for >=2-d)" or "build me a row (hstack-
 like, for <2d)". So it's hard to   remember what the 'r' in r_ stands for.
 On the other hand, c_ is always hstack-like.

 My main concern here is just that there are a lot of ways to stack things
 that have subtle differences in behavior.  I think it would be beneficial
 if there were fewer variations and more orthogonality so that there was
 less to rememeber.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/235>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list