Preprocessing of CSV data in Ruby cleanly 05 Aug 2016 Recently, I stumbled upon a nifty feature in the Ruby CSV library which allows for a very neat preprocessing experience. Ruby’s CSV module’s usual entry point is parse. This takes an argument called converters which accepts an array of anonymous functions that can be used to transform the data. For example, consider the following CSV data: age,