[Tutor] Convert structured 1D array to 2D array

Ek Esawi esawiek at gmail.com
Fri Feb 26 18:20:17 EST 2016

Thanks for the input. I tried your idea but i did not work; l got 1D array
of tuples; the same as the original array. I think b/c genfromtxt creates
an array and so it's already an array object-if i understand it correctly.
Your idea works well for a list which i tested but i want to an n x n 2D
array from 1D n x 1 tuples, each tuple has n elements,.

Thanks again-_EK

More information about the Tutor mailing list