add docstring for cross_tab method