def all_timeseries_index_generator(k=10):
 make_index_funcs = [makeDateIndex, makePeriodIndex, makeTimedeltaIndex]
 for make_index_func in make_index_funcs:
  (yield make_index_func(k=k))

def all_timeseries_index_generator ( k = 10 ) : make_index_funcs = [ makeDateIndex , makePeriodIndex , makeTimedeltaIndex ] for make_index_func in make_index_funcs : ( yield make_index_func ( k = k ) )
generator which can be iterated over to get instances of all the classes which represent time-seires .