magicmethods icon indicating copy to clipboard operation
magicmethods copied to clipboard

__array__ type conversion op for NumPy array

Open jpreiss opened this issue 5 years ago • 0 comments

This magic method is specific to a third-party library, but it's one of the most popular libraries, and implementing the magic method is very useful for making other numeric code play nicely with NumPy.

jpreiss avatar Feb 22 '20 01:02 jpreiss