`pandas.pivot_table` already provides the parameter `margins_name ` . `pandas.crosstab` currently does not.