[Python-Dev] PEP 450 adding statistics module

Guido van Rossum guido at python.org
Mon Sep 9 05:18:46 CEST 2013

On Sun, Sep 8, 2013 at 5:26 PM, Greg <greg.ewing at canterbury.ac.nz> wrote:

> On 9/09/2013 5:52 a.m., Guido van Rossum wrote:
>> Well, to me zip(*x) is unnatural, and it's inefficient when the arrays
>> are long.
> Would it be worth having a transpose() function in the stdlib
> somewhere, that returns a view instead of copying the data?

I'd be hesitant to add just that one function, given that there's hardly
any support for multi-dimensional arrays in the stdlib. (NumPy of course
has a transpose(), and that's where it arguably belongs.)

--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130908/022d1b16/attachment.html>

More information about the Python-Dev mailing list