class MiniZipline(object): def __init__(self): self.data_source = './csv/INDEX_FCHI_MINI.csv' self.algo = MarkovGenerator({}) def run(self): with open(self.data_source, 'rb') as source: table = csv.reader(source) for row in table: self.algo.handle_data(row) self.echo() def echo(self): ''' Conlusion ''' pass
def __init__(self): self.data_source = './csv/INDEX_FCHI_MINI.csv' self.algo = MarkovGenerator({})