add sem to groupby
add sem groupby test
simplify groupby's std method
add sem to docs