Re: [Numpy-discussion] Should arr.diagonal() return a copy or aview? (1.7 compatibility issue)

2012-05-23 Thread Kathleen M Tacina
On Wed, 2012-05-23 at 17:31 -0500, Nathaniel Smith wrote: > On Wed, May 23, 2012 at 10:53 PM, Travis Oliphant wrote: > > To be clear, I'm not opposed to the change, and it looks like we should go > > forward. > > > > In my mind it's not about developers vs. users as satisfying users is the > >

Re: [Numpy-discussion] Unexpected behavior with np.min_scalar_type

2012-01-25 Thread Kathleen M Tacina
Thanks! It was interesting to see why that happened. Kathy On Tue, 2012-01-24 at 18:56 -0600, Mark Wiebe wrote: > On Tue, Jan 24, 2012 at 7:29 AM, Kathleen M Tacina > wrote: > > I was experimenting with np.min_scalar_type to make sure it > worked as expected,

Re: [Numpy-discussion] bug in numpy.mean() ?

2012-01-24 Thread Kathleen M Tacina
t; Out[]: 3045.7472508750002 > In []: d.mean(axis= 0).mean() > Out[]: 3045.74724 > In []: d.mean(axis= 1).mean() > Out[]: 3045.747249999 > > > Or does the results of calculations depend more on the platform? > > > > > My 2 cents

Re: [Numpy-discussion] bug in numpy.mean() ?

2012-01-24 Thread Kathleen M Tacina
t; > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion -- -- Kathleen M. Tacina NASA Glenn Research Center MS 5-10 21000 Brookpark Road Cleveland, OH 44135 Telephone: (216)

[Numpy-discussion] Unexpected behavior with np.min_scalar_type

2012-01-24 Thread Kathleen M Tacina
I was experimenting with np.min_scalar_type to make sure it worked as expected, and found some unexpected results for integers between 2**63 and 2**64-1. I would have expected np.min_scalar_type(2**64-1) to return uint64. Instead, I get object. Further experimenting showed that the largest integ

[Numpy-discussion] Runtime error in numpy development version

2011-05-24 Thread Kathleen M Tacina
I get the following runtime error when I import numpy: "module compiled against ABI version 200 but this version of numpy is 109" (see below). Python 2.7.1 (r271:86832, May 20 2011, 14:41:42) [GCC 4.4.0 20090514 (Red Hat 4.4.0-6)] on linux2 Type "help", "copyright", "credits" or "license"

[Numpy-discussion] same name and title in structured arrays

2010-12-13 Thread Kathleen M Tacina
Hi, I've been finding numpy/scipy/matplotlib a very useful tool for data analysis. However, a recent change has caused me some problems. Numpy used to allow the name and title of a column of a structured array or recarray to be the same (at least in the svn version as of early last winter). Now