I have a dataFrame of shape (5,5) and I want to select the values from columns 1 through 3 and from that, i want to select rows 1 through 3 and convert them to an array.
for example, if this is the original dataFrame :

and i want to obtain the following as an array.
