On Mon, Aug 23, 2021 at 01:51:17PM -0000, Thomas Grainger wrote:

> In all seriousness this is an actual problem with numpy/pandas arrays where:

Indeed. Third-party classes can do anything they like.

It is a shame that numpy's API made the decision that they did, but I 
don't think it is very common to use numpy arrays in a context where 
they are expected to duck-type as collections.



-- 
Steve
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/3C72LASKLSR6GH7ZTDBQX7TCW2NYU4L2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to