Depreciated y_mean_ and y_median. Code is formatted according to pep8