[Numpy-discussion] Why ndarray provides four ways to flatten?

Din Vadhia dineshbvadhia at hotmail.com
Tue Oct 28 16:07:46 EDT 2014

It would be nice if there were a single meta numpy.flatten() function with kind: {'ravel', 'flatten', 'flat', 'reshape'} options, similar to the numpy.sort() function kind : {‘quicksort’, ‘mergesort’, ‘heapsort’} options. It would also make it easier to select the best option for each problem need by reading the doc in one place.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141028/c0e099ae/attachment.html>

More information about the NumPy-Discussion mailing list