def apply_if_callable(maybe_callable, obj, **kwargs):
if callable(maybe_callable):<EOL><INDENT>return maybe_callable(obj, **kwargs)<EOL><DEDENT>return maybe_callable<EOL>
Evaluate possibly callable input using obj and kwargs if it is callable,
otherwise return as it is.

Parameters
----------
maybe_callable : possibly a callable
obj : NDFrame
**kwargs