minpy icon indicating copy to clipboard operation
minpy copied to clipboard

minpy.numpy.array dose not support len()

Open MillPopulus opened this issue 7 years ago • 0 comments

import minpy.numpy as np
# import numpy as np
len(np.array([1,2,3]))

results in

TypeError                                 Traceback (most recent call last)
<ipython-input-39-32f01e8c945b> in <module>()
      1 import minpy.numpy as np
      2 # import numpy as np
----> 3 len(np.array([1,2,3]))

TypeError: object of type 'Array' has no len()

I use minpy installed by pip3

MillPopulus avatar Dec 21 '18 11:12 MillPopulus