[NumPy-Tickets] [NumPy] #2110: Documentation for reshape: case of reshape(i, j, k)?

NumPy Trac numpy-tickets@scipy....
Thu Apr 19 07:25:12 CDT 2012


#2110: Documentation for reshape: case of reshape(i, j, k)?
---------------------+------------------------------------------------------
 Reporter:  lebigot  |       Owner:  somebody   
     Type:  defect   |      Status:  new        
 Priority:  normal   |   Milestone:  Unscheduled
Component:  Other    |     Version:  1.6.1      
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by rkern):

 Note that `reshape(i,j,k)` only works for the method `ndarray.reshape()`
 not the function `np.reshape()`. For this and other reasons relating to
 consistency, generality, and not-overloading-the-reader's-brain-with-
 multiple-signatures, I always recommend sticking to the
 `reshape(new_shape_tuple)` syntax. Feel free to update the Example List
 wiki page (which is not part of the official documentation, per se).

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2110#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list