diff options
author | Anner <anner.de.jong@outlook.com> | 2018-07-06 11:40:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 11:40:09 +0900 |
commit | d67ace6f9753ca7ed0084ffc1ea5806bc5182602 (patch) | |
tree | 6496f5e2d2a572f60723b792eb360f700a29da6d /numpy/core/fromnumeric.py | |
parent | a6694870220b8b4ab18796b6c19e1dc45d0805cc (diff) | |
download | numpy-d67ace6f9753ca7ed0084ffc1ea5806bc5182602.tar.gz |
removed spaces. improved right side outlining
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 57410d194..b9cc98cae 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -1197,17 +1197,17 @@ def resize(a, new_shape): See Also -------- ndarray.resize : resize an array in-place. - + Notes ----- Warning: This functionality does **not** consider axes separately, i.e. it does not apply interpolation/extrapolation. - It fills the return array with the required number of elements, - taken from `a` as they are laid out in memory, disregarding strides and axes. + It fills the return array with the required number of elements, taken + from `a` as they are laid out in memory, disregarding strides and axes. (This is in case the new shape is smaller. For larger, see above.) This functionality is therefore not suitable to resize images, or data where each axis represents a separate and distinct entity. - + Examples -------- >>> a=np.array([[0,1],[2,3]]) |