Since chararray doesn't currently have any tests, I'm writing some,
and I ran across a couple of things that didn't make sense to me:
1. The code for __mul__ is exactly the same as that for __rmul__; is
there any reason __rmul__ shouldn't just call __mul__?
1.5. __radd__ seems like it doesn't do a
On Mon, Jul 7, 2008 at 15:08, Tim Michelsen <[EMAIL PROTECTED]> wrote:
> Hello,
> how do I remove all rows (or column) from an array which contain a
> certain value or sting?
Modification in-place is not possible. You will have to make a boolean
mask, then use boolean indexing to pull out a new a
On Monday 07 July 2008 16:08:36 Tim Michelsen wrote:
> Hello,
> how do I remove all rows (or column) from an array which contain a
> certain value or sting?
Timmie,
You could try a combination of masking the values you want to discard,
followed by ma.compress_rows/cols, provided your array is 2D
Hello,
due to fixed release cycles Ubuntu 8.04 still lacks the latest numpy 1.1.
I succeeded backporting the package python-numpy from the upcoming
release Intrepid 8.10 with the help of the automatic tool Prevu.
Instructions can be found here:
* https://wiki.ubuntu.com/Prevu
* http://ubuntuforu
Hello,
how do I remove all rows (or column) from an array which contain a
certain value or sting?
some like:
array.delte_row_from_array_wich_contains('March')
array.delte_row_from_array_wich_contains(-333)
Is there also possibility to replace all occurences of a certain value
in a array by n
On Mon, Jul 7, 2008 at 11:30, Keith Goodman <[EMAIL PROTECTED]> wrote:
> I'm writing the doc string for array_equal. From the existing one-line
> doc string I expect array_equal to return True or False. But I get
> this:
>
>>> np.array_equal([1,2], [1,2])
> True
>>> np.array_equal([1,2], [1,2,3])
On Mon, Jul 7, 2008 at 9:40 AM, Keith Goodman <[EMAIL PROTECTED]> wrote:
> On Mon, Jul 7, 2008 at 9:30 AM, Keith Goodman <[EMAIL PROTECTED]> wrote:
>> I'm writing the doc string for array_equal. From the existing one-line
>> doc string I expect array_equal to return True or False. But I get
>> this
On Mon, Jul 7, 2008 at 9:30 AM, Keith Goodman <[EMAIL PROTECTED]> wrote:
> I'm writing the doc string for array_equal. From the existing one-line
> doc string I expect array_equal to return True or False. But I get
> this:
>
>>> np.array_equal([1,2], [1,2])
> True
>>> np.array_equal([1,2], [1,2,3
I'm writing the doc string for array_equal. From the existing one-line
doc string I expect array_equal to return True or False. But I get
this:
>> np.array_equal([1,2], [1,2])
True
>> np.array_equal([1,2], [1,2,3])
0
>> np.array_equal(np.array([1,2]), np.array([1,2,3]))
0
>> np.__version_
On Mon, Jul 7, 2008 at 10:31, David Cournapeau <[EMAIL PROTECTED]> wrote:
> On Mon, Jul 7, 2008 at 11:44 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>> The problem is with this patch:
>>
>> http://projects.scipy.org/scipy/numpy/changeset/3854
>>
>> and the question that we have is:
>>
>> I'd lik
On Mon, Jul 7, 2008 at 11:44 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
> Hi,
>
> we have this problem in Debian:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489726
>
> The problem is that numpy should not depend on atlas unconditionally,
> yet it should allow it for users that have it.
Hi,
we have this problem in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489726
The problem is that numpy should not depend on atlas unconditionally,
yet it should allow it for users that have it.
I am not an expert in blas/lapack/atlas and it's Debian packaging much
(I know some pe
After installing the old binutils. (I hope this will not be necessary for
future numpy versions, that these can run on an unmodified cygwin install)
I managed to build and install.
Running numpy in python now gives some errors in the unit test:
Type "help", "copyright", "credits" or "license" for
Hi David (and others)
This issue is known:
http://www.scipy.org/scipy/numpy/ticket/811
I think this is an issue for the numpy developers. (I don't know how to fix
this easily, i can try to install an older version of binutils (if cygwin
has these), but this will probably break a lot of other stuf
Hi David,
I just discovered this:
http://mail.python.org/pipermail/python-bugs-list/2006-April/032817.html
I'm currently trying.
On Mon, Jul 7, 2008 at 2:22 PM, David Cournapeau <
[EMAIL PROTECTED]> wrote:
> Chris Bartels wrote:
> > Hi David,
> >
> > Thanks again.
> >
> > Unfortunately these
Chris Bartels wrote:
> Hi David,
>
> Thanks again.
>
> Unfortunately these variables are not set in the environment. (I
> checked with 'env'.)
> I also reinstalled the cygwin python package (again) and ran 'find .
> -name libpython* -print', this gives:
>
> /usr/bin/libpython2.5.dll
> /usr/lib/pyt
Hi David,
Thanks again.
Unfortunately these variables are not set in the environment. (I checked
with 'env'.)
I also reinstalled the cygwin python package (again) and ran 'find . -name
libpython* -print', this gives:
/usr/bin/libpython2.5.dll
/usr/lib/python2.5/config/libpython2.5.dll.a
The /u
Chris Bartels wrote:
>
> Sorry, my message was ambiguous: I indeed did this, I installed python
> from the cygwin installer
Ok. Python sources are not needed to build python extensions. Only the
headers and the python runtime are needed.
Basically, the problem is that for some reason, the library
Hi David,
Thank you for the quick reply.
It looks like you did not install python correctly. I strongly recommend
> you to use the python available for cygwin, after having removed the
> python you installed from sources. Installing the python package does
> give you /usr/lib/python2.5/config, as
Chris Bartels wrote:
> Hi,
>
> I have been trying to install numpy (as a dependancy of matplotlib) on
> cygwin. I would like to use the native cygwin-python numpy install, as
> the cygwin development environment I use is portable on usb disk
> (http://www.dam.brown.edu/people/sezer/software/cygwin/
20 matches
Mail list logo