def _calc_median(self):
        return self._get_quantile(self._get_sorted_data(), 0.5)
The median is either the middle value or the average of the two
dataset/ETHPy150Open mahmoud/boltons/boltons/statsutils.py/Stats._calc_median