BUG: fix transform with integers
Merge pull request #7973 from cpcloud/transform-oddity-7972

BUG: fix transform with integers
BUG: Allow __name__less callables as groupby hows (GH7929)

Improve get_callable_name somewhat.