def create_table_index(self, key, **kwargs):

        # version requirements
        _tables()
        s = self.get_storer(key)
        if s is None:
            return

        if not s.is_table:
            raise TypeError(
                "cannot create table index on a Fixed format store")
        s.create_index(**kwargs)
testing if the duration attribute is working properly
dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/HDFStore.create_table_index--crossover with--dataset/ETHPy150Open eoyilmaz/anima/tests/previs/test_duration_mixin.py/DurationAttrMixinTestCase.test_duration_attribute_is_working_properly