rougier / from-python-to-numpy

An open-access book on numpy vectorization techniques, Nicolas P. Rougier, 2017
http://www.labri.fr/perso/nrougier/from-python-to-numpy
Other
2.05k stars 340 forks source link

Typos 3.3 #48

Closed pylang closed 7 years ago

pylang commented 7 years ago

Thus, if you need fancy indexing, it's better to keep a copy of your fancy index (especially if it was complex to compute it) and to work with it:

...

If you are unsure if the result of your indexing is a view or a copy, you can check what is the base of your result. If it is None, then you result is a copy:

...

However, if your arrays are big, then you have to be careful with such expressions and wonder if you can do it differently

rougier commented 7 years ago

Thansk ! It has been corrected.