426 193]
>> [431 129]]
>>
>>
>> How can I do this without workarounds like string concatenation or such
>> things? Numpy.unique flattens the whole array so it's not really of use
>> here.
>>
>
> One possibility see threa
;d like to get this :
[[409 152]
[426 193]
[431 129]]
How can I do this without workarounds like string concatenation or such
things? Numpy.unique flattens the whole array so it's not really of use
here.
Cheers.
-- Peter Schmidtke
PhD Student
Dept. Physical Chemistry
Faculty of Pharmac
On 29/07/2010, at 19:01, Pauli Virtanen wrote:
> Thu, 29 Jul 2010 18:45:38 +0200, Peter Schmidtke wrote:
>> I am trying to install manually the latest releases of scipy and numpy
>> on Mac OSX 10.6 Snow Leopard. I previously used the dmg installer that
>> is available, but
should I use? I already use the newest release and I cannot go for the
svn version as pycuda won't work as it should anymore.
Thanks in advance for your lights on this.
Peter Schmidtke
-
PhD Student
Department of Physical Chemistry
School of Pharmacy
University of Barc
get the a,b and c coefficients?
Thanks in advance.
--
Peter Schmidtke
--
PhD Student at the Molecular Modeling and Bioinformatics Group
Dep. Physical Chemistry
Faculty of Pharmacy
University of Barcelona
___
NumPy-Discussion
they were different trees.
>
> This is slow, takes a bunch of memory, and I then have to parse out the
> list to find the ones that are paired up.
>
> Is there a way to get just the close ones from the single tree?
>
> thanks,
>
> -Chris
--
Peter Schmidtke
-
5.5, 6.1, 3. , 5.5, 2. , 6.5])
You can reshape this array to a 3x3 matrix using the reshape function ->
x.reshape((3,3))
--
Peter Schmidtke
--
PhD Student at the Molecular Modeling and Bioinformatics Group
Dep. Physi
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 Nump
les are rather big, so I simply have to
avoid this.
Thanks in advance.
--
Peter Schmidtke
--
PhD Student at the Molecular Modeling and Bioinformatics Group
Dep. Physical Chemistry
Faculty of Pharmacy
University of Barcelona
10 matches
Mail list logo