[Numpy-discussion] [Numpy-tickets] [NumPy] #235: r_, c_, hstack, vstack, column_stack should be made more consistent
oliphant.travis at ieee.org
Wed Sep 13 22:56:22 CDT 2006
Sebastian Haase wrote:
> what is the "new string directives as the first element of the item
> tuple" !?
These have been there for a while, but I recently added a couple of
> I always liked the idea of having a "shortest possible" way for creating
> (or concatenating)
> rows with "r_"
> columns with "c_"
> Why did the "c_" have to be removed !?
It wasn't removed, I thought to deprecate it. Owing to your response
and the fact that others seem to use c_ quite a bit, I've kept it as a
short hand for
This means that arrays will be concatenated along the 1st axis after
being up-graded to (at-least) 2-dimensional arrays with 1's placed at
the end of the new shape.
This is a bit different if you were using c_ when you should have been
More information about the Numpy-discussion