Re: [Numpy-discussion] record data previous to Numpy use

2017-07-05 Thread Robert McLeod
While I'm going to bet that the fastest way to build a ndarray from ascii is with a 'io.ByteIO` stream, NumPy does have a function to load from text, `numpy.loadtxt` that works well enough for most purposes. https://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html It's hard to tell

Re: [Numpy-discussion] record data previous to Numpy use

2017-07-05 Thread Derek Homeier
Hi Paul, > ascii file is an input format (and the only one I can deal with) > > HDF5 one might be an export one (it's one of the options) in order to speed > up the post-processing stage > > > > Paul > > > > > > Le 2017-07-05 20:19, Thomas Caswell a écrit : > >> Are you tied to ASCII fi

Re: [Numpy-discussion] record data previous to Numpy use

2017-07-05 Thread Robert Kern
On Wed, Jul 5, 2017 at 5:41 AM, wrote: > > Dear all > > I’m sorry if my question is too basic (not fully in relation to Numpy – while it is to build matrices and to work with Numpy afterward), but I’m spending a lot of time and effort to find a way to record data from an asci while, and reassign i

Re: [Numpy-discussion] record data previous to Numpy use

2017-07-05 Thread paul . carrico
Hi Thanks for the answer: ascii file is an input format (and the only one I can deal with) HDF5 one might be an export one (it's one of the options) in order to speed up the post-processing stage Paul Le 2017-07-05 20:19, Thomas Caswell a écrit : > Are you tied to ASCII files? HDF5 (vi

Re: [Numpy-discussion] record data previous to Numpy use

2017-07-05 Thread Thomas Caswell
Are you tied to ASCII files? HDF5 (via h5py or pytables) might be a better storage format for what you are describing. Tom On Wed, Jul 5, 2017 at 8:42 AM wrote: > Dear all > > > I’m sorry if my question is too basic (not fully in relation to Numpy – > while it is to build matrices and to work

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread Stephan Hoyer
On Wed, Jul 5, 2017 at 10:40 AM, Chris Barker wrote: > Along those lines, there was some discussion of having a set of utilities > (or maybe eve3n an ABC?) that would make it easier to create a ndarray-like > object. > > That is, the boilerplate needed for multi-dimensional indexing and > slicing

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread Chris Barker
On Mon, Jul 3, 2017 at 4:27 PM, Stephan Hoyer wrote: > If someone who does subclasses/array-likes or so (e.g. like Stefan >> Hoyer ;)) and is interested, and also we do some >> teleconferencing/chatting (and I have time) I might be interested >> in discussing and possibly trying to develop th

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread Charles R Harris
Lots of good ideas here. It would help if issues were opened for them and flagged with the sprint label. I'll be doing some myself, but I'm not as intimately familiar with some of the topics as the proposers are. Chuck ___ NumPy-Discussion mailing list

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread David Cournapeau
On Wed, Jul 5, 2017 at 10:43 AM, Ralf Gommers wrote: > > > On Mon, Jul 3, 2017 at 7:01 AM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> On Sun, Jul 2, 2017 at 9:33 AM, Sebastian Berg < >> sebast...@sipsolutions.net> wrote: >> >>> On Sun, 2017-07-02 at 10:49 -0400, Allan Halda

[Numpy-discussion] record data previous to Numpy use

2017-07-05 Thread paul . carrico
Dear all I'm sorry if my question is too basic (not fully in relation to Numpy - while it is to build matrices and to work with Numpy afterward), but I'm spending a lot of time and effort to find a way to record data from an asci while, and reassign it into a matrix/array … with unsuccessfully!

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread Matthew Brett
On Wed, Jul 5, 2017 at 11:31 AM, Peter Cock wrote: > On Wed, Jul 5, 2017 at 11:25 AM, Ralf Gommers wrote: >> >> >> On Wed, Jul 5, 2017 at 10:14 PM, Peter Cock >> wrote: >>> >>> Note that TravisCI does not yet have official Python support on Mac OS X, >>> >>> https://github.com/travis-ci/travis-c

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread Matthew Brett
On Wed, Jul 5, 2017 at 11:25 AM, Ralf Gommers wrote: > > > On Wed, Jul 5, 2017 at 10:14 PM, Peter Cock > wrote: >> >> Note that TravisCI does not yet have official Python support on Mac OS X, >> >> https://github.com/travis-ci/travis-ci/issues/2312 >> >> I believe it is possible to do anyway by f

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread Peter Cock
On Wed, Jul 5, 2017 at 11:25 AM, Ralf Gommers wrote: > > > On Wed, Jul 5, 2017 at 10:14 PM, Peter Cock > wrote: >> >> Note that TravisCI does not yet have official Python support on Mac OS X, >> >> https://github.com/travis-ci/travis-ci/issues/2312 >> >> I believe it is possible to do anyway by f

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread Ralf Gommers
On Wed, Jul 5, 2017 at 10:14 PM, Peter Cock wrote: > Note that TravisCI does not yet have official Python support on Mac OS X, > > https://github.com/travis-ci/travis-ci/issues/2312 > > I believe it is possible to do anyway by faking it under another setting > (e.g. pretend to be a generic langua

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread Peter Cock
Note that TravisCI does not yet have official Python support on Mac OS X, https://github.com/travis-ci/travis-ci/issues/2312 I believe it is possible to do anyway by faking it under another setting (e.g. pretend to be a generic language build, and use the system Python or install your own specifi

Re: [Numpy-discussion] Scipy 2017 NumPy sprint

2017-07-05 Thread Ralf Gommers
On Mon, Jul 3, 2017 at 7:01 AM, Charles R Harris wrote: > > > On Sun, Jul 2, 2017 at 9:33 AM, Sebastian Berg > wrote: > >> On Sun, 2017-07-02 at 10:49 -0400, Allan Haldane wrote: >> > On 07/02/2017 10:03 AM, Charles R Harris wrote: >> > > Updated list below. >> > > >> > > On Sat, Jul 1, 2017 at