Re: [Tutor] R: Re: Create a pivot table (Peter Otten)

2016-05-20 Thread Michael Selik
On Fri, May 20, 2016 at 7:16 AM jarod_v6--- via Tutor wrote: > Thanks s much for the help. I want to obtain table like this: > > > >csv.writer(sys.stdout, delimiter="\t").writerows(table) > >A100D33 D34 D35 D36 D37 D38 D39 > >A 5 0 ... > >B

Re: [Tutor] Create a pivot table

2016-05-20 Thread Michael Selik
On Fri, May 20, 2016 at 8:42 AM Peter Otten <__pete...@web.de> wrote: > jarod_v6--- via Tutor wrote: > > I have tried the pandas way but unfortunately there is many duplicates . > > Please show your code in a small self-contained example, > the output it produces, and what exact output you want in

Re: [Tutor] genfromtxt and dtype to convert data to correct format

2016-05-20 Thread Ek Esawi
Thanks again Alan for your help and patience. Your earlier suggestion works; i just now realized that the output was indeed correct. Thanks again--EK ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.pytho

Re: [Tutor] Create a pivot table

2016-05-20 Thread Peter Otten
jarod_v6--- via Tutor wrote: Please address your posts to the whole list, not me specifically. I might read them all the same. Thank you. > Thanks s much for the help. I want to obtain table like this: > > >>csv.writer(sys.stdout, delimiter="\t").writerows(table) >>A100D33 D

[Tutor] R: Re: Create a pivot table (Peter Otten)

2016-05-20 Thread jarod_v6--- via Tutor
Thanks s much for the help. I want to obtain table like this: >csv.writer(sys.stdout, delimiter="\t").writerows(table) >A100D33 D34 D35 D36 D37 D38 D39 >A 5 0 ... >B 2 2 ... >C 0 .. > I have tried the pandas way but unfortuna