Thanks s much for the help. I want to obtain table like this:
>csv.writer(sys.stdout, delimiter="\t").writerows(table)
> A100 D33 D34 D35 D36 D37 D38 D39
>A 5 0 ...
>B 2 2 ...
>C 0 ..
>
I have tried the pandas way but unfortunately there is many duplicates . So
Now I move to create a new file using dictionary and a file with this format.
('A', A100') 5
('B', 'A100) 2
I just wondering if there is a pythonic way to do this. I don't want to use
another software if I can
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor