[SciPy-User] creating a particular numpy array

Evgeni Burovski evgeny.burovskiy at gmail.com
Wed Apr 30 11:28:34 EDT 2014


The way you wrote it, you've a list of length one, with the array being its
only element:

MYMAP =[....]
On Apr 30, 2014 3:38 PM, "Gabriele Brambilla" <
gb.gabrielebrambilla at gmail.com> wrote:

> Hi,
>
> I have a particular array
>
> MYMAP = [np.zeros([npha, nobs, nex], dtype=float)]
>
> how can I create an array of 210 of MYMAP?
>
> thanks
>
> Gabriele
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20140430/c9c20cc6/attachment.html>


More information about the SciPy-User mailing list