Date: Jan 21, 2013 12:39 PM
Author: Khalid Iqbal
Subject: Simple Problem to Ask

Dear Friends

I Have a simple problem to ask you.

Headings={'A','C','D','E','AC','AD','AE','AC','CD','CE','AD','CD','DE','AE','CE','DE'}
Data =
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 0 1 1 0 1 1 0 1 1 0 0 0 0
0 1 0 1 0 0 0 0 0 1 0 0 0 0 1 0
1 0 1 1 0 1 1 0 0 0 1 0 1 1 0 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

For each Heading, one column in sequence is represented.

Now, the problem is that I want to get unique headings as well as according to unique headings, the same columns of Data in the above dataset.

If anyone knows some useful way, Please tell me, I will be highly thankful.

Regards
MG