The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Sorting after Transpose
Hello good miners.
I want to be able to sort data by column (not row) values. As I understand, I first have to use Transpose, then Sort and then Transpose again to to get back to the original data matrix with sorted values. So I need to go from this:
2,1,0
0,2,1
to this:
0,1,2
0,1,2
The three-operator sequence works in principle fine but after the first Transpose Sort only allows one special attribute (id) to be chosen. This attribute just contains the original column names which Sort then sorts alphabetically. How can I get the subsequent data rows sorted (as resultset after Transpose#1 does contain att1..att(n) values to sort by) ?
best, Harri
I want to be able to sort data by column (not row) values. As I understand, I first have to use Transpose, then Sort and then Transpose again to to get back to the original data matrix with sorted values. So I need to go from this:
2,1,0
0,2,1
to this:
0,1,2
0,1,2
The three-operator sequence works in principle fine but after the first Transpose Sort only allows one special attribute (id) to be chosen. This attribute just contains the original column names which Sort then sorts alphabetically. How can I get the subsequent data rows sorted (as resultset after Transpose#1 does contain att1..att(n) values to sort by) ?
best, Harri
0
Answers
in an example set, each row is linked together. So let's say you have the following example set:
Regards,
Marco