4 ms·
Nitpick: There should be a check for zero count to avoid a divide-by-zero. It's missing in the original article as well.
by dheerajvs 7y ago
Nitpick: There should be a check for zero count to avoid a divide-by-zero. It's missing in the original article as well.
- ec109685 7y agoWhy isn’t NaN the right result for the average of an empty set?