def csv_to_generator(csv_file_path):
    '\n    Parse your CSV file into generator\n    '
    for row in DictReader(open(csv_file_path, 'r')):
        point = Point('financial-analysis').tag('type', 'vix-daily').field('open', float(row['VIX Open'])).field('high', float(row['VIX High'])).field('low', float(row['VIX Low'])).field('close', float(row['VIX Close'])).time(row['Date'])
        (yield point)
Parse your CSV file into generator
def csv_to_generator(csv_file_path):
    '\n    \n    '
    for row in DictReader(open(csv_file_path, 'r')):
        point = Point('financial-analysis').tag('type', 'vix-daily').field('open', float(row['VIX Open'])).field('high', float(row['VIX High'])).field('low', float(row['VIX Low'])).field('close', float(row['VIX Close'])).time(row['Date'])
        (yield point)