On Oct 29, 2009, at 4:22 PM, Alok Singhal wrote:
> Hi,
>
> On 29/10/09: 12:18, Ariel Rokem wrote:
>> I want to start trying out the new dtype for representation of arrays
>> of times, datetime64, which is implemented in the current svn. Is
>> there any documentation anywhere? I know of this propo
Hi,
On 29/10/09: 12:18, Ariel Rokem wrote:
> I want to start trying out the new dtype for representation of arrays
> of times, datetime64, which is implemented in the current svn. Is
> there any documentation anywhere? I know of this proposal:
>
> http://numpy.scipy.org/svn/numpy/tags/1.3.0/doc/n
Hi -
I want to start trying out the new dtype for representation of arrays
of times, datetime64, which is implemented in the current svn. Is
there any documentation anywhere? I know of this proposal:
http://numpy.scipy.org/svn/numpy/tags/1.3.0/doc/neps/datetime-proposal3.rst
but apparently the c
On Oct 29, 2009, at 8:30 AM, TheLonelyStar wrote:
>
> Adter trying the same thing in matlab, I realized that my "tsv" file
> is not
> matrix-style. But this I mean, not all lines ave the same lenght
> (not the
> same number of values).
>
> What would be the best way to load this?
The SVN ver
Peter Schmidtke wrote:
> Have you tried the numpy.fromfile function?
good point -- fromfile() can be much faster for the simple cases it can
handle.
> not all lines ave the same lenght (not the
> same number of values).
>
> What would be the best way to load this?
That depends on what the dat
On Thu, Oct 29, 2009 at 02:17, David Cournapeau
wrote:
> Hi,
>
> I have added a couple of utilities for floating point comparison, to
> be used in unit tests mostly, and would like some comments, especially
> from people knowledgeable about floating point.
>
> http://github.com/cournape/numpy/t
I haven't used it, but this seems to provide a good environment for your
> needs.
>
> http://web.mit.edu/stardev/cluster/
>
>
Robert Kern to the rescue again! StarCluster looks great. And thanks
Dorian as well, I'm also checking out Alestic.
Dan
> --
> Robert Kern
>
> "I have come to b
On Wed, Oct 28, 2009 at 23:29, Dan Yamins wrote:
> Hi all:
>
> I'm gearing up to build an Amazon Machine Instance (AMI) for use in doing
> Numpy/Scipy computations on the Amazon EC2 cloud.
>
> I'm writing to ask if anyone has any advice for which (if any) publicly
> available AMI I should start wi
David Cournapeau wrote:
> On Thu, Oct 29, 2009 at 10:26 PM, Dag Sverre Seljebotn
> wrote:
>
>> I'm getting (to me( very mysterious NaNs when doing matrix
>> multiplication with certain (randomly generated) data:
>>
>> In [52]: a.shape, b.shape, i, j
>> Out[52]: ((22, 1000), (1000, 22), 0, 16)
>
On Thu, Oct 29, 2009 at 10:26 PM, Dag Sverre Seljebotn
wrote:
> I'm getting (to me( very mysterious NaNs when doing matrix
> multiplication with certain (randomly generated) data:
>
> In [52]: a.shape, b.shape, i, j
> Out[52]: ((22, 1000), (1000, 22), 0, 16)
>
> In [53]: np.dot(a, b)[i,j]
> Out[53
I'm getting (to me( very mysterious NaNs when doing matrix
multiplication with certain (randomly generated) data:
In [52]: a.shape, b.shape, i, j
Out[52]: ((22, 1000), (1000, 22), 0, 16)
In [53]: np.dot(a, b)[i,j]
Out[53]: (31.322778824758661+nan*j)
In [54]: np.dot(a[i,:], b[:,j])
Out[54]: (31.
On 10/29/2009 07:30 AM, TheLonelyStar wrote:
> Adter trying the same thing in matlab, I realized that my "tsv" file is not
> matrix-style. But this I mean, not all lines ave the same lenght (not the
> same number of values).
>
> What would be the best way to load this?
>
> Regards,
> Nathan
>
On Thu, 29 Oct 2009 05:30:09 -0700 (PDT), TheLonelyStar
wrote:
> Adter trying the same thing in matlab, I realized that my "tsv" file is
not
> matrix-style. But this I mean, not all lines ave the same lenght (not the
> same number of values).
>
> What would be the best way to load this?
>
> Rega
Adter trying the same thing in matlab, I realized that my "tsv" file is not
matrix-style. But this I mean, not all lines ave the same lenght (not the
same number of values).
What would be the best way to load this?
Regards,
Nathan
--
View this message in context:
http://www.nabble.com/numpy-l
On Fri, Oct 23, 2009 at 9:09 AM, David Warde-Farley wrote:
> The Python.org sources for 2.6.x has a script in the Mac/ subdirectory
> (I think, or in the build tools) for building a 4-way universal binary
> (i386, x86_64, ppc and ppc64). You can rather easily build it (just
> run the script) and i
Have you tried the numpy.fromfile function? This usually worked great for
my files that had the same format than yours.
++
Peter
--
PhD Student at the Molecular Modeling and Bioinformatics Group
Dep. Physical Chemistry
Faculty of Pharmacy
University of Barcelona
> Date: Wed, 28 Oct 2009 20:31:43 +0100
> From: Peter Schmidtke
> Subject: [Numpy-discussion] reading gzip compressed files using
> numpy.fromfile
> To: numpy-discussion@scipy.org
> Message-ID:
> Content-Type: text/plain; charset="UTF-8"
>
> Dear Numpy Mailing List Readers,
>
> I have a q
Hi,
I am trying to load a tsv file using numpy.loadtxt:
data = np.loadtxt('data.txt',delimiter='\t',dtype=np.float)
And I get:
-
/usr/lib/python2.6/site-packages/numpy/lib/io.pyc in loadtxt(fname, dtype,
comments, delimiter, converters, skiprows, usecols, unpack)
503
Hi,
I have added a couple of utilities for floating point comparison, to
be used in unit tests mostly, and would like some comments, especially
from people knowledgeable about floating point.
http://github.com/cournape/numpy/tree/new_ulp_comp
The main difference compared to other functions i
19 matches
Mail list logo