You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and it occured to me that this is definitely not the first time I've found myself doing the awkward concatenate-a-zero dance in order to get a cumsum array whose shape matches what I want. Maybe we should have a convenience argument to cumsum (and to ufunc.accumulate in general I guess) to insert the operation's identity as the first argument.
No brain to figure out the details of how this would work right now, but filing a bug to remind me/us...