can you make this a big more imformative, maybe ' This is a groupby object and cannot perform the operation ....`?