Post Reply 
Problems with the command cumSum and Workaround
12-30-2017, 05:17 PM (This post was last modified: 12-30-2017 05:52 PM by StephenG1CMZ.)
Post: #5
RE: Problems with the command cumSum and Workaround
One oddity I have just noted is that whereas cumSum normally returns a list, the built-in cumSum({}) returns numerical 0 instead - a result of a different type.
I am not certain what the correct result should be, but I would expect/hope for either {} or {0}, not 0.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Problems with the command cumSum and Workaround - StephenG1CMZ - 12-30-2017 05:17 PM



User(s) browsing this thread: 1 Guest(s)