<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resample(obj, kind=None, **kwds):
 """ Create a TimeGrouper and return our resampler. """

    tg = TimeGrouper(**kwds)
    return tg._get_resampler(obj, kind=kind)