def max_number(self, rows: List[Row], column: NumberColumn) -> Number:
        """
        Takes a list of rows and a column and returns the max of the values under that column in
        those rows.
        """
        cell_values = [row.values[column.name] for row in rows]
        if not cell_values:
            return 0.0  # type: ignore
        if not all([isinstance(value, Number) for value in cell_values]):
            raise ExecutionError(f"Invalid values for number selection function: {cell_values}")
        return max(cell_values)
def max_number ( self , rows : List [ Row ] , column : NumberColumn ) -> Number : cell_values = [ row . values [ column . name ] for row in rows ] if not cell_values : return 0.0 if not all ( [ isinstance ( value , Number ) for value in cell_values ] ) : raise ExecutionError ( f"Invalid values for number selection function: {cell_values}" ) return max ( cell_values )
Takes a list of rows and a column and returns the max of the values under that column in
        those rows.