Re: Array column separations for beginners

2017-05-01 Thread katarin . bern
Thanks very much, it was pretty easy and now it works :) -- https://mail.python.org/mailman/listinfo/python-list

Re: Array column separations for beginners

2017-05-01 Thread Rob Gaddi
On 05/01/2017 08:14 AM, katarin.b...@gmail.com wrote: Hi again, I am trying to subtract the minimum value from all numbers (in one array). I am using this: (array[:,1] -= np.min(array[:,1]) but I alsways have syntaxerror:invalid syntax. Do I need some import for this -=? or its something

Re: Array column separations for beginners

2017-05-01 Thread Peter Otten
katarin.b...@gmail.com wrote: > Hi again, > > I am trying to subtract the minimum value from all numbers (in one array). > I am using this: > > > (array[:,1] -= np.min(array[:,1]) but I alsways have syntaxerror:invalid > syntax. Do I need some import for this -=? or its something else?

Re: Array column separations for beginners

2017-05-01 Thread katarin . bern
Hi again, I am trying to subtract the minimum value from all numbers (in one array). I am using this: (array[:,1] -= np.min(array[:,1]) but I alsways have syntaxerror:invalid syntax. Do I need some import for this -=? or its something else? THanks! --

Re: Array column separations for beginners

2017-04-27 Thread breamoreboy
On Thursday, April 27, 2017 at 8:10:33 PM UTC+1, katari...@gmail.com wrote: > Thanks a lot, it helped me. > > I have new question..maybe very easy but I am trying to search on web and I > have no clue. > I have array(table) with 3 rows - x, y, y. I would like to plot graph with > double y axis

Re: Array column separations for beginners

2017-04-27 Thread katarin . bern
Thanks a lot, it helped me. I have new question..maybe very easy but I am trying to search on web and I have no clue. I have array(table) with 3 rows - x, y, y. I would like to plot graph with double y axis from that table. Should I use twinxs? or does exist easier way? Thanks! --

Re: Array column separations for beginners

2017-04-26 Thread Rhodri James
On 26/04/17 15:04, katarin.b...@gmail.com wrote: Hi, 1. I would like to ask how can I adjust array.csv like this: ,,,-00.00014640, 0.08000, ,,,-00.00014620, 0.0, ,,,-00.00014600, 0.0, ,,,-00.00014580, 0.0, so I can have in first column -00.00014640 and in

Re: Array column separations for beginners

2017-04-26 Thread Peter Otten
katarin.b...@gmail.com wrote: > Hi, > 1. I would like to ask how can I adjust array.csv like this: > ,,,-00.00014640, 0.08000, > ,,,-00.00014620, 0.0, > ,,,-00.00014600, 0.0, > ,,,-00.00014580, 0.0, > > so I can have in first column -00.00014640 and in

Array column separations for beginners

2017-04-26 Thread katarin . bern
Hi, 1. I would like to ask how can I adjust array.csv like this: ,,,-00.00014640, 0.08000, ,,,-00.00014620, 0.0, ,,,-00.00014600, 0.0, ,,,-00.00014580, 0.0, so I can have in first column -00.00014640 and in second column 0.08000? (thanks, I am begginer).