[Numpy-discussion] Ravel and inplace modification

Stéfan van der Walt stefan@sun.ac...
Sat Mar 22 06:54:53 CDT 2008

On Thu, Mar 20, 2008 at 4:11 PM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
> On Thu, Mar 20, 2008 at 6:04 AM, Gael Varoquaux
> There are alternative methods: a.flatten will always return a copy and
> a.flat will return an iterator. Perhaps those should be suggested in cases

And for the record: x.flat does not make a copy and can be assigned to as well.


More information about the Numpy-discussion mailing list