Simplify logic for min, max, mean
Simplify logic for min, max, mean

StuartLittlefair/astropy,StuartLittlefair/astropy,larrybradley/astropy,pllim/astropy,lpsinger/astropy,mhvk/astropy,saimn/astropy,lpsinger/astropy,lpsinger/astropy,lpsinger/astropy,pllim/astropy,StuartLittlefair/astropy,saimn/astropy,astropy/astropy,mhvk/astropy,astropy/astropy,lpsinger/astropy,mhvk/astropy,pllim/astropy,aleksandr-bakanov/astropy,astropy/astropy,larrybradley/astropy,aleksandr-bakanov/astropy,larrybradley/astropy,pllim/astropy,saimn/astropy,saimn/astropy,larrybradley/astropy,aleksandr-bakanov/astropy,saimn/astropy,astropy/astropy,mhvk/astropy,astropy/astropy,mhvk/astropy,StuartLittlefair/astropy,pllim/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,larrybradley/astropy