[Numpy-discussion] numpy: azip ?

Robert Kern robert.kern at gmail.com
Tue Nov 28 11:50:22 CST 2006


Robert wrote:
> I often need a function to zip 2 (1D) arrays together to a 2D array - similar as python's zip() does. 
> Found no function in numpy to do that directly without thinking a lot. Or is there one?
> Otherwise such thing would be helpful in future numpy.

column_stack()

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco


More information about the Numpy-discussion mailing list