def create_index(self, *args, **kwargs):
        factory = self._index_factory()
        return factory(*args, **kwargs)
return the _index_factory created using the args, kwargs
dataset/ETHPy150Open pydata/pandas/pandas/tseries/tests/test_resample.py/Base.create_index