[Numpy-discussion] Inplace remove some array rows
tmp50 at ukr.net
Sat Mar 12 12:43:34 EST 2011
currently I use
a = array(m,n)
a = delete(a, indices, 0) # delete some rows
Can I somehow perform the operation in-place, without creating
If I'll use
numpy.compress(condition, a, axis=0, out=a),
numpy.take(a, indices, axis=0, out=a)
will the operation be inplace?
Thank you in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion