On Sat, Sep 17, 2011 at 21:50, Bruce Southey <bsout...@gmail.com> wrote:
> numpy.std() does accepts array-like which obvious means that > np.std([1,2,3,5]) works making asanyarray call a total waste of cpu > time. Clearly pandas is not array-like input (as Wes points out below) > so an error is correct. No. Even lists are "array-like" in the terminology of the docstring standard. Anything that np.asarray() or np.asanyarray() can accept is "array-like". Please stop making things up and being sanctimonious about it. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion