[Numpy-tickets] [NumPy] #655: Library for padding arrays

NumPy numpy-tickets@scipy....
Wed Apr 9 14:08:45 CDT 2008

#655: Library for padding arrays
 Reporter:  timcera      |        Owner:  somebody
     Type:  enhancement  |       Status:  new     
 Priority:  low          |    Milestone:  1.1     
Component:  numpy.lib    |      Version:  none    
 Severity:  minor        |   Resolution:          
 Keywords:               |  
Comment (by peridot):

 The patch is actually a more-or-less self-contained python package. The
 best thing to do is probably to drop it in as numpy.pad (particularly as
 it has functions like numpy.pad.maximum). It includes tests and
 documentation (albeit not exaclty in numpy standard format) so it's really
 a packaging issue.

 The package makes it easy to pad vectors on one end or the other with an
 arbitrary number of values, with wrapped or reflected values, or
 mean/median/maximum/minimum values of the whole array or part of it.

Ticket URL: <http://scipy.org/scipy/numpy/ticket/655#comment:2>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list