Hi!

I want to create something that, in my mind, is array of vertical
arrays. Something like this:

Code Name Gender
1 Anne F
2 John M
3 Jack M

How can i manipulate data inside a multidimensional array so that its
subarrays are printed like this?

I have very little knowledge about Ruby. I've tried hard to find an
answer for this on the net, but couldn't find it.

Thanks in advance for any feedback!