I was applying functions by subgroups to a data frame
output = mydf.groupby([\'a\',\'b\',\'c\']).apply(function)
In the output display, columns a