summaryrefslogtreecommitdiff
path: root/numpy/lib/arraypad.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-0/+2
| | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates.
* STY: Touch up documentation in arraypad.pyCharles Harris2012-04-041-111/+125
| | | | | Rearrange some of the documentation and shorten lines. A few long lines of code were also broken.
* ENH: Add module containing functions for padding n-dimensional arrays.tim cera2012-04-041-0/+767
The various padding functions are exposed as options to a public 'pad' function. Example: pad(a, 5, mode='mean') Current modes are 'constant', 'edge', 'linear_ramp', 'maximum', 'mean', 'median', 'minimum', 'reflect', 'symmetric', 'wrap', and <function> This commit includes unit tests and doctests and is based on feature request ticket #655.