def boxplot(iterable, **kwargs):
 kwargs.pop('p', None)
 kwargs.pop('sort', None)
 s = sorted(iterable)
 Q1 = quantile(s, p=0.25, sort=False, **kwargs)
 Q2 = quantile(s, p=0.5, sort=False, **kwargs)
 Q3 = quantile(s, p=0.75, sort=False, **kwargs)
 return (float(min(s)), Q1, Q2, Q3, float(max(s)))

def boxplot ( iterable , ** kwargs ) : kwargs . pop ( 'p' , None ) kwargs . pop ( 'sort' , None ) s = sorted ( iterable ) Q1 = quantile ( s , p = 0.25 , sort = False , ** kwargs ) Q2 = quantile ( s , p = 0.5 , sort = False , ** kwargs ) Q3 = quantile ( s , p = 0.75 , sort = False , ** kwargs ) return ( float ( min ( s ) ) , Q1 , Q2 , Q3 , float ( max ( s ) ) )
returns a tuple (min .