[Numpy-discussion] Re: inconsistent use of axis= keyword argument?

Robert Kern robert.kern at gmail.com
Thu Feb 23 12:44:04 EST 2006


Vidar Gundersen wrote:

> and i also wonder why concatenate can't be used to stack 1-d
> arrays on top of each other, returning a 2-d array?

Use vstack() for that. Also note its companions, hstack() and column_stack().

-- 
Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter





More information about the NumPy-Discussion mailing list