Closed peterewills closed 3 years ago
Thanks @peterewills. I've updated sum
to match the behavior of the other non-count aggregate functions. Each returns undefined
when invoked over empty or null-only data. Fix will be released shortly in v1.2.3.
@jheer thanks so much! We're starting to use arquero in our Observable notebooks here at Stitch Fix, and are really appreciating the work you've put into it.
Right now, if I do
op.sum(colName)
and all the values ofcolName
arenull
within a group, the aggregated value for that group is0.0
. IMO it would be more sensible to returnnull
in this case.Example: