All,
I would like to know if there is a good alternative to the "Shape" function (even UDF's - user defined functions are welcome) .
// Generate Random Data
TestData = Random Shuffle(Random Index(10^4,10^3));
// Reshape the data using Shape function
TestData1 = Shape(TestData,10,N Rows(TestData)/10);
// Visualize data as data table
dt = As Table(TestData);
dt1 = As Table(TestData1);
Visualize original raw random data - dt1

Result of Shape function

What I am hoping to achieve is convert the long format in dt1 or screenshot1 into wide format i.e.
Take "n" elements of Column1 and form a new column .
This is acheived using reshape function in most environments like Matlab and R . Wondering if there is a better way to do this with "Shape" or an alternative function .
Best
Uday