statistics.median_low
The statistics.median_low function returns the median of the elements in data. For its calculation, the ordered elements are considered: If the number of elements is odd, the function returns the value that occupies the central position. If the number of elements is even, the lowest of the two closest to the center position is returned.