Ilhan Polat wrote:

> I think all these point to the missing convenient functionality that
> extends arrays. In matlab "[0 arr 10]" nicely extends the array to a new
> one but in NumPy you need to punch quite some code and some courage to
> remember whether it is hstack or vstack or concat or block as the correct
> naming which decreases the "code morale". 

Not having a convenient workaround is not the only problem. The workaround is 
wastefull with memory and involves unnecessary copying of  an array. Having a 
keyword implemented with these concerns in mind might avoid this.
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to