Fill columns and rows in default with None instead of zero #155
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When added, columns and rows in time window analyzer matrix are in default filled with zeros. This happens also when there are some missing values (e.g., some events won't arrive). This is problematic, because if one analyzes data, values for events which haven't arrive should be None, not zero. The reason is, that some metrics can be zero (e.g., set up success call rate), and if instead of None, there is zero, it provides wrong statistical calculations (e.g., average of set up success call rate for past few hours). The same problem is when the matrix is created, you cannot know if the zero values are because of metric had value zero, or, because it was pre-filled.