deephaven / deephaven-core

Deephaven Community Core
Other
252 stars 80 forks source link

Add `cum_count()`, `cum_avg()` , and `cum_std()` to `update_by()` #4424

Open alexpeters1208 opened 1 year ago

alexpeters1208 commented 1 year ago

Given that we offer exponential weighted average and std, and rolling count, avg, and std for update_by(), I think it's reasonable to support cum_count(), cum_avg(), and cum_std(). These are natural things to want to compute, and I'm having a tough time computing them by composing existing operations.

Here is the gap in cumulative/rolling operations compared to Numerics.java array operations:

lbooker42 commented 1 year ago

A review of Numerics.ftl/Numerics.java might uncover other functionality gaps.

chipkent commented 1 month ago

Other count operations like count_null, count_nan, etc. would be useful.