[Numpy-discussion] record arrays initialization
Stéfan van der Walt
stefan at sun.ac.za
Wed May 2 22:03:40 EDT 2012
On Wed, May 2, 2012 at 4:26 PM, Moroney, Catherine M (388D)
<Catherine.M.Moroney at jpl.nasa.gov> wrote:
> Using structured arrays is making my code complex when I try to call the
> vectorized function. If I stick to the original record arrays, what's the
> best way of initializing b from a without doing an row-by-row copy?
What does your original data look like? It seems like `a` is already
what you need after the reshape?
More information about the NumPy-Discussion