<div dir="ltr">Hi,<div><br></div><div>Very helpful, these exercises. </div><div><br></div><div>Pertaining to exercise 9. Is there a reason not to use the solution of exercise 5? </div><div><br></div><div>bye</div><div><br>
</div><div>Nicky</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 May 2014 00:59, Eraldo Pomponi <span dir="ltr"><<a href="mailto:eraldo.pomponi@gmail.com" target="_blank">eraldo.pomponi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div>It doesn't use stride_tricks, and seberg doesn't quite like it, but this made the rounds in StackOverflow a couple of years ago:<br>
</div></div><div><div><br></div><div><a href="http://stackoverflow.com/questions/16970982/find-unique-rows-in-numpy-array/16973510#16973510" target="_blank">http://stackoverflow.com/questions/16970982/find-unique-rows-in-numpy-array/16973510#16973510</a><br>


</div><div><br></div><div>It may not work properly on floats, but I think it is a very cool use of dtypes. Then again I'm obviously biased...</div></div></div></div></div></blockquote><div><br></div></div><div>I remained astonished when I discovered this trick just the day before Nicolas posted about his amazing contribution .... and for my use case (int matrices) it is working perfectly ... </div>

<div>another candy, again from you Jaime is the fast moving average in: </div><div><br></div><div><a href="http://stackoverflow.com/a/14314054" target="_blank">http://stackoverflow.com/a/14314054</a><br></div><div><br></div>
<div>but at a much lower ranking respect to the previous one :P ..... </div>
<div><br></div><div>Let me thank you all a lot for making the life of mine and many others easier</div><div>sharing your knowledge. </div><div><br></div><div>Cheers,</div><div>Eraldo </div><div><br></div></div></div></div>

<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>