Re: [Numpy-discussion] saving object array to ascii file

2010-05-07 Thread Friedrich Romstedt
2010/5/7 Maria Liukis : > Sorry if it's a trivial question. I'm trying to find out if there is a way to > save object array to ascii file. numpy.savetxt() in NumPy V1.3.0 doesn't seem > to work: Maybe according to http://docs.scipy.org/doc/numpy/reference/generated/numpy.savetxt.html#numpy.save

[Numpy-discussion] saving object array to ascii file

2010-05-06 Thread Maria Liukis
Hello Everybody, Sorry if it's a trivial question. I'm trying to find out if there is a way to save object array to ascii file. numpy.savetxt() in NumPy V1.3.0 doesn't seem to work: >>> import numpy as np >>> obj_arr = np.zeros((2,), dtype=np.object) >>> obj_arr[0] = np.array([[1,2,3], [4,5,6],