Allow using predict_csv from within Python. Support for more CSV data formats