This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | """ | |
| Download results file from: | |
| https://www.coachcox.co.uk/imstats/im/recent/ | |
| """ | |
| import csv | |
| import statistics | |
| import datetime | |
| from rich.console import Console | |
| from rich.table import Table | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from math import floor | |
| class Heap: | |
| def __init__(self, items=None): | |
| self.__items = items if items != None else [] | |
| self.__build_heap() | |
| def __build_heap(self): | |
| # Iterate across all the nodes that have at least one child from the |