<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/lib/shape_base.py, branch v1.10.0rc2</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>BUG: Expanded warning conditions for array_split</title>
<updated>2015-09-27T18:37:02+00:00</updated>
<author>
<name>Michael Currie</name>
<email>mcurrie@bruceforceresearch.com</email>
</author>
<published>2015-04-17T17:55:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=79ed6ee4d9d4a0f60e4a125c9c9db0d597f8c208'/>
<id>79ed6ee4d9d4a0f60e4a125c9c9db0d597f8c208</id>
<content type='text'>
Zero arrays can also occur with any of the partitions sub_arys[i]
induced by array_split, not just the final partition sub_arys[-1].

Modified by seberg.
Closes gh-5771
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Zero arrays can also occur with any of the partitions sub_arys[i]
induced by array_split, not just the final partition sub_arys[-1].

Modified by seberg.
Closes gh-5771
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix tiling of zero-sized arrays numpy/numpy#6089 and add test case.</title>
<updated>2015-07-17T05:54:49+00:00</updated>
<author>
<name>Dimas Abreu Dutra</name>
<email>dimasadutra@gmail.com</email>
</author>
<published>2015-07-17T00:41:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=98f186f4ea336138c31c471d18dccc6d9663ced7'/>
<id>98f186f4ea336138c31c471d18dccc6d9663ced7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5605 from shoyer/stack</title>
<updated>2015-05-12T04:43:16+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-05-12T04:43:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=18c89dbf87929e68479b2272ad7ab4b321120773'/>
<id>18c89dbf87929e68479b2272ad7ab4b321120773</id>
<content type='text'>
ENH: add np.stack</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ENH: add np.stack</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: add np.stack</title>
<updated>2015-05-12T04:18:24+00:00</updated>
<author>
<name>Stephan Hoyer</name>
<email>shoyer@climate.com</email>
</author>
<published>2015-02-25T09:49:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=93d3b8dedc5cd602c867a234f07188fe5bd5479b'/>
<id>93d3b8dedc5cd602c867a234f07188fe5bd5479b</id>
<content type='text'>
The motivation here is to present a uniform and N-dimensional interface for
joining arrays along a new axis, similarly to how `concatenate` provides a
uniform and N-dimensional interface for joining arrays along an existing axis.

Background
~~~~~~~~~~

Currently, users can choose between `hstack`, `vstack`, `column_stack` and
`dstack`, but none of these functions handle N-dimensional input. In my
opinion, it's also difficult to keep track of the differences between these
methods and to predict how they will handle input with different
dimensions.

In the past, my preferred approach has been to either construct the result
array explicitly and use indexing for assignment, to or use `np.array` to
stack along the first dimension and then use `transpose` (or a similar method)
to reorder dimensions if necessary. This is pretty awkward.

I brought this proposal up a few weeks on the numpy-discussion list:
http://mail.scipy.org/pipermail/numpy-discussion/2015-February/072199.html

I also received positive feedback on Twitter:
https://twitter.com/shoyer/status/565937244599377920

Implementation notes
~~~~~~~~~~~~~~~~~~~~

The one line summaries for `concatenate` and `stack` have been (re)written to
mirror each other, and to make clear that the distinction between these functions
is whether they join over an existing or new axis.

In general, I've tweaked the documentation and docstrings with an eye toward
pointing users to `concatenate`/`stack`/`split` as a fundamental set of basic
array manipulation routines, and away from
`array_split`/`{h,v,d}split`/`{h,v,d,column_}stack`

I put this implementation in `numpy.core.shape_base` alongside `hstack`/`vstack`,
but it appears that there is also a `numpy.lib.shape_base` module that contains
another larger set of functions, including `dstack`. I'm not really sure where
this belongs (or if it even matters).

Finally, it might be a good idea to write a masked array version of `stack`.
But I don't use masked arrays, so I'm not well motivated to do that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The motivation here is to present a uniform and N-dimensional interface for
joining arrays along a new axis, similarly to how `concatenate` provides a
uniform and N-dimensional interface for joining arrays along an existing axis.

Background
~~~~~~~~~~

Currently, users can choose between `hstack`, `vstack`, `column_stack` and
`dstack`, but none of these functions handle N-dimensional input. In my
opinion, it's also difficult to keep track of the differences between these
methods and to predict how they will handle input with different
dimensions.

In the past, my preferred approach has been to either construct the result
array explicitly and use indexing for assignment, to or use `np.array` to
stack along the first dimension and then use `transpose` (or a similar method)
to reorder dimensions if necessary. This is pretty awkward.

I brought this proposal up a few weeks on the numpy-discussion list:
http://mail.scipy.org/pipermail/numpy-discussion/2015-February/072199.html

I also received positive feedback on Twitter:
https://twitter.com/shoyer/status/565937244599377920

Implementation notes
~~~~~~~~~~~~~~~~~~~~

The one line summaries for `concatenate` and `stack` have been (re)written to
mirror each other, and to make clear that the distinction between these functions
is whether they join over an existing or new axis.

In general, I've tweaked the documentation and docstrings with an eye toward
pointing users to `concatenate`/`stack`/`split` as a fundamental set of basic
array manipulation routines, and away from
`array_split`/`{h,v,d}split`/`{h,v,d,column_}stack`

I put this implementation in `numpy.core.shape_base` alongside `hstack`/`vstack`,
but it appears that there is also a `numpy.lib.shape_base` module that contains
another larger set of functions, including `dstack`. I'm not really sure where
this belongs (or if it even matters).

Finally, it might be a good idea to write a masked array version of `stack`.
But I don't use masked arrays, so I'm not well motivated to do that.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update shape_base.py</title>
<updated>2015-03-11T12:07:22+00:00</updated>
<author>
<name>Kreiswolke</name>
<email>oliver_eberle@web.de</email>
</author>
<published>2015-03-11T12:07:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6eef837b4ae321e8bd2dffab4df68a4869f00860'/>
<id>6eef837b4ae321e8bd2dffab4df68a4869f00860</id>
<content type='text'>
So removed the paranthesis and included the return statement.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So removed the paranthesis and included the return statement.</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fixed issue #4679 and added test</title>
<updated>2015-02-19T14:35:09+00:00</updated>
<author>
<name>Oliver Eberle</name>
<email>oliver_eberle@web.de</email>
</author>
<published>2015-02-19T14:24:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a5ea773e66110cf335c9ed37e8ccdc14f8e56764'/>
<id>a5ea773e66110cf335c9ed37e8ccdc14f8e56764</id>
<content type='text'>
Tile now copies the input when it is a numpy array and all dimensions are
repeated only once.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tile now copies the input when it is a numpy array and all dimensions are
repeated only once.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix 'dimensions' typo in numpy.kron() help message</title>
<updated>2015-02-06T23:40:09+00:00</updated>
<author>
<name>Sandro Tosi</name>
<email>morph@debian.org</email>
</author>
<published>2015-02-06T23:40:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=0a338f7d8ac8bda597c4ff06068b3b2f3b20ddda'/>
<id>0a338f7d8ac8bda597c4ff06068b3b2f3b20ddda</id>
<content type='text'>
This bug was reported in Debian as: http://bugs.debian.org/777172 .
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This bug was reported in Debian as: http://bugs.debian.org/777172 .
</pre>
</div>
</content>
</entry>
<entry>
<title>STY: Make files in numpy/lib PEP8 compliant.</title>
<updated>2014-07-31T19:21:17+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2014-07-31T00:06:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=01b0d7e82211b581aaff925e3ccc36cff9ac1895'/>
<id>01b0d7e82211b581aaff925e3ccc36cff9ac1895</id>
<content type='text'>
The rules enforced are the same as those used for scipy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The rules enforced are the same as those used for scipy.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Fixes for problems in numpy/lib revealed by pyflakes.</title>
<updated>2014-07-31T19:21:13+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2014-07-30T22:48:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dec6658cdc10a23ad0e733fb52a814306033d88c'/>
<id>dec6658cdc10a23ad0e733fb52a814306033d88c</id>
<content type='text'>
Some of those problems look like potential coding errors. In those
cases a Fixme comment was made and the offending code, usually an
unused variable, was commented out.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some of those problems look like potential coding errors. In those
cases a Fixme comment was made and the offending code, usually an
unused variable, was commented out.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4454 from jurnix/namedargs</title>
<updated>2014-06-08T14:29:06+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>juliantaylor108@gmail.com</email>
</author>
<published>2014-06-08T14:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=10098daf387b9468a0aee19c3eb3e0cdd21f874c'/>
<id>10098daf387b9468a0aee19c3eb3e0cdd21f874c</id>
<content type='text'>
ENH: apply_along_axis accepts named arguments</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ENH: apply_along_axis accepts named arguments</pre>
</div>
</content>
</entry>
</feed>
