[Numpy-discussion] reshape

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Nov 6 12:59:47 CST 2008

On Thu, 6 Nov 2008 19:47:19 +0200
  "Nadav Horesh" <nadavh@visionsense.com> wrote:
> Can you clarify?
I have an array with a number of rows (nrows) and two 
The first column entries correspond to x_i, the second
column contains the corresponding values y_i = f(x_i)
That array should be written to a file where each line
consists 4 pairs (x_i, y_i=f(x_i)) except the last line
if nrows/8 is not an integer.



More information about the Numpy-discussion mailing list