def resample(obj, kind=None, **kwds):
    tg = TimeGrouper(**kwds)
    return tg._get_resampler(obj, kind=kind)
This method is a monkey patched version of create_test_db that
dataset/ETHPy150Open pydata/pandas/pandas/tseries/resample.py/resample--crossover with--dataset/ETHPy150Open pytest-dev/pytest-django/pytest_django/db_reuse.py/create_test_db_with_reuse