ruby-modules/csv_parser.rb
# Returns:
#   array of row value arrays at some given number of columns
array of row value arrays at some given number of columns
array of row value arrays at some given number of columns
def some_columns
		ans = []
		self.csv_arr.each do |row|
			redacted = []
			self.columns.each do |c|
				redacted << row[c]
			end
			ans << redacted
		end
		ans
	end
def some_columns ans = [ ] self . csv_arr . each do | row | redacted = [ ] self . columns . each do | c | redacted << row [ c ] end ans << redacted end ans end
Returns:
array of row value arrays at some given number of columns
Returns : array of row value arrays at some given number of columns