jeffheaton / encog-java-core

http://www.heatonresearch.com/encog
Other
744 stars 268 forks source link

Missed getInt by column name in ReadCSV #190

Open mami71 opened 9 years ago

mami71 commented 9 years ago

Dear Jeff, i saw that in the ReadCSV doesn't exist a getInt by column name method, is possible to implement it ? maybe this could help:

public int getInt(final String column) { final String str = get(column); try { return this.format.getNumberFormatter().parse(str).intValue(); } catch (final ParseException e) { throw new CSVError(e); }

Thanks in advance for all. Greetings

Mauro