Add test for mean/variance on groupby results
pep8ify
remove some old try/except
more pep8 fun
fix variance on groupby
pep8ify