Feature #2749
Updated by liaham 4 months ago
The average function should ignore nil values in two ways:
1. nil values should not count in the sum, i.e., use `values.compact` before summing up
2. the size should depend on `values.compact.size`
Names for this kind of average could be
* compact_average
* average_without_nil
* filtered_average
* net_average
* null_filtered_average
* net_of_nil_average
* average_net_of_nil
* average_net_of_unset
* average_without_unset