def dict_to_csv()

in 11_realtime/create_traindata.py [0:0]


def dict_to_csv(f):
    try:
        yield ','.join([str(x) for x in f.values()])
    except Exception as e:
        logging.warning('Ignoring {} because: {}'.format(f, e), exc_info=True)
        pass