#NEWLINE# def resample( obj , kind = None , **kwds ) : #NEWLINE# #INDENT# ' create a TimeGrouper and return our resampler ' #NEWLINE# tg = TimeGrouper ( ** kwds ) #NEWLINE# return tg . _get_resampler ( kwds , kind = kind )