clean up compute python

rely on cytoolz directly rather than utils

rowfunc/rowwise docstrings

head returns tuple