Variable Explorer displays "ndarray object of numpy module" when **, sumsum or cumprod are used

102 views
Skip to first unread message

Philip Yip

unread,
Jan 4, 2020, 10:04:59 AM1/4/20
to spyder
Great job with Spyder 4.

Just a couple of very minor issues that I noticed with the variable explorer with Spyder 4 when **, np.cumsum and np.cumprod are used on Anaconda - Windows 10 Version 1909 and Windows 10 Version 2004 Insider Preview. It appears to display without issue on Anaconda - Fedora 31. 

The value for some reason shows up as "nd array object of numpy module" opposed to the actual value.

When they are double clicked they show up as expected. b and c which are the same value for instance (one is calculated using a*a and the other a**2).

The font size is set to 20 and 20 for sake of the screenshot but also shows when using the default font size of 10 and 9.

import numpy as np
a=np.array([1,2])
b=a*a
c=a**2
d=np.array([1,2,3])
e=np.cumprod(d)
f=np.cumsum(d)


spyder4b.PNG




Reply all
Reply to author
Forward
0 new messages