Re: [Numpy-discussion] Dropping sourceforge for releases.

2016-10-02 Thread Vincent Davis
> > Chuck > -- Sent from mobile app. Vincent Davis 720-301-3003 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Help loading data into pandas

2015-05-13 Thread Vincent Davis
be the key. they have to be float. Thanks​ Vincent Davis ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] Help loading data into pandas

2015-05-13 Thread Vincent Davis
Reader._convert_tokens (pandas/parser.c:10403)() pandas/parser.pyx in pandas.parser.TextReader._convert_with_dtype (pandas/parser.c:11257)() Exception: Integer column has NA values Vincent Davis 720-301-3003 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] ODE how to?

2014-10-27 Thread Vincent Davis
speed. and is of a fixed distance. I have played with some of the simple scipy.integrate.odeint examples. I get that I need to define a system of equations but am not really sure the rules for doing so. A little help would be greatly appreciated. V

Re: [Numpy-discussion] De Bruijn sequence

2014-02-01 Thread Vincent Davis
anslated to other languages, etc., * * so long as proper acknowledgement is given (author and source). * * Programmer: Frank Ruskey (1994), translated to C by Joe Sawada * *********/ Vincent Davis 720-301-3003 On Sat, Feb

[Numpy-discussion] De Bruijn sequence

2014-01-23 Thread Vincent Davis
I happen to be working with De Bruijn sequences. Is there any interest in this being part of numpy/scipy? https://gist.github.com/vincentdavis/8588879 Vincent Davis ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org

Re: [Numpy-discussion] pyc and pyo files in dmg and other python3 questions also a dmg for python3.1 to try

2010-11-14 Thread Vincent Davis
On Sun, Nov 14, 2010 at 7:20 AM, Ralf Gommers wrote: > > > On Sun, Nov 14, 2010 at 9:16 AM, Vincent Davis > wrote: >> >> The questions below regard the osx dmg installer, not sure about how >> this applies to other installers. >> >> I noticed that pyc

[Numpy-discussion] pyc and pyo files in dmg and other python3 questions also a dmg for python3.1 to try

2010-11-13 Thread Vincent Davis
g binaries but I am interested so any advice on how to proceed or what the plans are for building py3 binaries would be appreciated and I will try to contribute. Finally here is a py3 binary to try. http://vincentdavis.info/installers/numpy-1.5.1rc2-py3.1.2-python.org-macosx10.3.dmg -- Thanks Vin

Re: [Numpy-discussion] Python2.7 version check for OSX numpy installer (please Test)

2010-11-09 Thread Vincent Davis
On Tue, Nov 9, 2010 at 5:18 PM, Ralf Gommers wrote: > Hi Vincent, > > On Wed, Nov 10, 2010 at 1:03 AM, Vincent Davis > wrote: > > No need to actualy install, You should get an error right away if you do > not > > have both. > > /Library/Frameworks/Python.fra

[Numpy-discussion] Python2.7 version check for OSX numpy installer (please Test)

2010-11-09 Thread Vincent Davis
-python.org-macosx10.5 I should have a numpy-1.5.1rc2-py2.7-python.org-macosx10.3 ready for testing later. http://dl.dropbox.com/u/1340248/1-nov%209%202010/numpy1.5.1rc2-Py2.7-32-64-test-python-version.dmg -- Thanks Vincent Davis 720-301-3003 ___ NumPy

Re: [Numpy-discussion] updated 1.5.1 release schedule

2010-11-07 Thread Vincent Davis
rc2. I not sure the best way to make this check but I think I can come up with a solution. Also would need a useful error message. Vincent > Cheers, > Ralf > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://m

Re: [Numpy-discussion] [SciPy-User] please test/review: Scipy on OS X with Python 2.7

2010-11-03 Thread Vincent Davis
On Wed, Nov 3, 2010 at 6:25 PM, Ralf Gommers wrote: > Hi Vincent, > > On Wed, Nov 3, 2010 at 10:18 PM, Vincent Davis > wrote: > > > > > > Ok I am a little more awake now and not in zombi mode. That is correct > osx > > 10.6 c++4.2, Doing it again and maybe

Re: [Numpy-discussion] [SciPy-User] please test/review: Scipy on OS X with Python 2.7

2010-11-02 Thread Vincent Davis
numpy/ticket/1399. > > Thanks, > Ralf > ___ > SciPy-User mailing list > scipy-u...@scipy.org > http://mail.scipy.org/mailman/listinfo/scipy-user > -- Thanks Vincent Davis 720-301-3003 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] tests fails when run $nosetests numpy, but not from python prompt

2010-10-24 Thread Vincent Davis
On Sun, Oct 24, 2010 at 6:29 PM, wrote: > On Sun, Oct 24, 2010 at 8:17 PM, Ralf Gommers > wrote: >> On Sun, Oct 24, 2010 at 2:44 AM, Vincent Davis >> wrote: >>> python2.7 10.5, osx 10.6, numpy 1.5.1rc1 >>> Test pass when run from python prompt (se

[Numpy-discussion] tests fails when run $nosetests numpy, but not from python prompt

2010-10-23 Thread Vincent Davis
python2.7 10.5, osx 10.6, numpy 1.5.1rc1 Test pass when run from python prompt (see bottom) but fail when run from $nosetests numpy. 105osxpython:~ Vincent$ nosetests numpy .

Re: [Numpy-discussion] test_creation Errors with np 1.5.1rc1 built on osx 10.5 py27 32bit

2010-10-21 Thread Vincent Davis
L=4, SKIP=1) On Thu, Oct 21, 2010 at 3:34 PM, Vincent Davis wrote: > Build info > numpy-1.5.1rc1-py2.7-python.org-macosx10.5 > python-2.7-macosx10.3 > os x 10.5 > > installed on osx 10.6 python-2.7-macosx10.3 > > Been working on building the dmg, you can try it/downl

[Numpy-discussion] test_creation Errors with np 1.5.1rc1 built on osx 10.5 py27 32bit

2010-10-21 Thread Vincent Davis
=== ERROR: test_divisor_conversion_year (test_datetime.TestDateTime) -- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nump

Re: [Numpy-discussion] how to ask numpy what bit version it is running (32/64)

2010-10-19 Thread Vincent Davis
t;>> print platform.machine() > i386 > >>> print platform.architecture() > ('64bit', '') > >>> import sys; sys.maxint > 9223372036854775807 Currently on OS X (10.6 and earlier), uname returns 'i386' for any Intel platform, 32-bit only o

Re: [Numpy-discussion] how to ask numpy what bit version it is running (32/64)

2010-10-19 Thread Vincent Davis
> wrote: >> >> On Wed, Oct 20, 2010 at 6:54 AM, Vincent Davis >> wrote: >> > What is the best/good way to know what version of numpy is running (32 >> > or 64 bit). >> >> import platform >> print platform.machine() >> >> > Showing

[Numpy-discussion] how to ask numpy what bit version it is running (32/64)

2010-10-19 Thread Vincent Davis
What is the best/good way to know what version of numpy is running (32 or 64 bit). Showing my ignorance maybe but does it always match the python version that is running, which can be ask/tested using sys.maxint? -- Thanks Vincent Davis ___ NumPy

Re: [Numpy-discussion] stride tricks for cellular automata

2010-10-19 Thread Vincent Davis
y.org/mailman/listinfo/numpy-discussion > -- Thanks Vincent Davis 720-301-3003 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] ANN: NumPy 1.5.1 release candidate 1

2010-10-18 Thread Vincent Davis
_ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > -- Thanks Vincent Davis 720-301-3003 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Sorry, probably postponing Binary Release [urgent]

2010-10-16 Thread Vincent Davis
end of the month. >> >> Will try the vpn tomorrow morning. > > Okay. > >> Good luck with your exam, >> Ralf > > Good, thanks, cu, > Friedrich > > P.S.: Really happy to find understanding. > ___ > NumPy-D

Re: [Numpy-discussion] OS X installers - naming scheme and 2.7 annoyance

2010-10-16 Thread Vincent Davis
er disk image (2.7) for OS X 10.3 and later (sig)". Is this correct or the proposal? Vincent > > Finally, this post is related: > http://article.gmane.org/gmane.comp.python.apple/17182, will be > relevant for numpy too. > > Ralf > ______

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-15 Thread Vincent Davis
9   fax > Seattle, WA  98115       (206) 526-6317   main reception > > chris.bar...@noaa.gov > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > -- Thanks Vincent Davis 7

Re: [Numpy-discussion] installing different tag or branches from git source

2010-10-14 Thread Vincent Davis
On Thu, Oct 14, 2010 at 6:41 AM, Ralf Gommers wrote: > > > On Thu, Oct 14, 2010 at 9:48 AM, Vincent Davis > wrote: >> >> Ok so this is more of a git question but and I think it might be >> simple I just don't get it. >> Lets say I get a copy of num

[Numpy-discussion] installing different tag or branches from git source

2010-10-13 Thread Vincent Davis
n be found by starting at http://www.scipy.org/Developer_Zone How does one add a link to that page? -- Thanks Vincent Davis 720-301-3003 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] www.numpy.org url issues

2010-10-13 Thread Vincent Davis
ould point to numpy.scipy.org rather than numpy.org. If the control of numpy.org is in question or is not working correctly. Vincent > > Ben Root > > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http:/

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-13 Thread Vincent Davis
now: > > 1) keep trying to fix that error -- a post to the pythonmac list might > help there. > > 2) Punt, and just build on an older system. It sounds like Vincent may > be able to help out with that. > > (I've got a Intel 10.6 system and a PPC 10.5 system now, but I&#

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 4:38 PM, Christopher Barker wrote: > On 10/12/10 2:00 PM, Vincent Davis wrote: >> I could do 10.4 also. For me doing this is maybe best described as a >> curiosity. But my understanding was that some where having trouble >> install on 10.5 with binarie

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 2:46 PM, Pauli Virtanen wrote: > Tue, 12 Oct 2010 13:55:27 -0600, Vincent Davis wrote: >>> It's meant for easy inclusion in other projects (if they agree with the >>> worfklow it presents), here it is for example rendered with the urls >

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 2:53 PM, Christopher Barker wrote: > Vincent Davis wrote: >> Ok, Friedrich and I are working on setting up a machine for building >> on 10.5 and hope (I do)  to have that going for 1.5.1rc1 >> I hope to do a 10.6 for 1.5rc1 also. > > why have a s

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 12:55 PM, Fernando Perez wrote: > On Tue, Oct 12, 2010 at 6:51 AM, Vincent Davis > wrote: >> Lots of good reading :) Just thought I'd put a plug in for the >> contributor that may make only a few contributions and needs a simple >> workflow t

[Numpy-discussion] www.numpy.org url issues

2010-10-12 Thread Vincent Davis
be obvious what the right URL would be. Also I have noticed that numpy.org mixes new.scipy.org and scipy.org (actual url not what is displayed) different than if you start from scip.org. If you start at scipy.org everything works right. Ok so maybe this only bugs me :) -- Thanks Vincent Davis 72

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 9:15 AM, Ralf Gommers wrote: > > > On Mon, Oct 11, 2010 at 11:14 PM, Vincent Davis > wrote: >> >> On Mon, Oct 11, 2010 at 7:34 AM, Ralf Gommers >> wrote: >> > Hi Friedrich, >> > >> > On Mon, Oct 11, 2010 at 2:46

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Vincent Davis
tenance/1.5.x/numpy/ma/core.py. Corollary: how do I branch from a >> branch? > >        git branch old_branch new_branch > > -- > Pauli Virtanen > > _______ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.s

Re: [Numpy-discussion] equality of empty arrays

2010-10-11 Thread Vincent Davis
g like. >>>>> m = [] >>>>> n = [] >>>>> m==n >> True >> >> What is the right way to test if an array is empty? >> >> -- >> Thanks >> Vincent Davis >> 720-301-3003 >> _

[Numpy-discussion] equality of empty arrays

2010-10-11 Thread Vincent Davis
I assume there is some reasoning behind this >>> m = np.array([]) >>> n = np.array([]) >>> m==n array([], dtype=bool) I was expecting somthing like. >>> m = [] >>> n = [] >>> m==n True What is the right way to test if an

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-11 Thread Vincent Davis
On Mon, Oct 11, 2010 at 7:34 AM, Ralf Gommers wrote: > Hi Friedrich, > > On Mon, Oct 11, 2010 at 2:46 AM, Friedrich Romstedt > wrote: >> >> 2010/10/9 Vincent Davis : >> > Did you get any responses on this? I can install 10.5 and help out >> > with some

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-10 Thread Vincent Davis
On Sun, Oct 10, 2010 at 12:46 PM, Friedrich Romstedt wrote: > 2010/10/9 Vincent Davis : >> Did you get any responses on this? I can install 10.5 and help out >> with some testing. I have a macbookpro that does not turn of (Hardware >> issue) but it is good for testing. I coul

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-09 Thread Vincent Davis
he above ticket. > > Thanks, > Ralf > > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > -- Thanks Vincent Davis 720-301-3003 ___

Re: [Numpy-discussion] {OT} Mailing trends

2010-08-06 Thread Vincent Davis
On Fri, Aug 6, 2010 at 10:16 AM, wrote: > On Fri, Aug 6, 2010 at 11:13 AM, Vincent Davis > wrote: > > > > On Thu, Aug 5, 2010 at 2:55 PM, wrote: > >> > >> On Thu, Aug 5, 2010 at 3:43 PM, Gökhan Sever > wrote: > >> > Hello, > >> >

Re: [Numpy-discussion] {OT} Mailing trends

2010-08-06 Thread Vincent Davis
gt; > NumPy-Discussion@scipy.org > > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > > > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-d

Re: [Numpy-discussion] Datarray BoF, part2

2010-07-21 Thread Vincent Davis
On Wed, Jul 21, 2010 at 1:00 PM, Keith Goodman wrote: > On Wed, Jul 21, 2010 at 11:41 AM, Vincent Davis > wrote: >> On Wed, Jul 21, 2010 at 11:08 AM, Keith Goodman wrote: >>> On Wed, Jul 21, 2010 at 9:56 AM, John Salvatier >>> wrote: >>>> I don

Re: [Numpy-discussion] Datarray BoF, part2

2010-07-21 Thread Vincent Davis
On Wed, Jul 21, 2010 at 11:08 AM, Keith Goodman wrote: > On Wed, Jul 21, 2010 at 9:56 AM, John Salvatier > wrote: >> I don't really know much about this topic, but what about a flag at array >> creation time (or whenever you define labels) that says whether valid >> indexes will be treated as lab

Re: [Numpy-discussion] numpy Trac emails

2010-07-19 Thread Vincent Davis
On Sun, Jul 18, 2010 at 10:06 AM, Pauli Virtanen wrote: > Sun, 18 Jul 2010 23:59:24 +0800, Ralf Gommers wrote: > >> Scipy Trac seems to work very well now, I get notification emails for >> comments on tickets etc. For numpy Trac, nothing right now. Can this be >> fixed? I do think that the signup

Re: [Numpy-discussion] PyDocWeb "the doc editor" and github transition

2010-07-17 Thread Vincent Davis
On Sat, Jul 17, 2010 at 1:47 PM, Pauli Virtanen wrote: > Sat, 17 Jul 2010 13:11:46 -0600, Vincent Davis wrote: >> I have not seen anything about the move to github and how this effects >> pydocweb or did I just miss it. I am willing to adapt pydocweb to work >> with github

[Numpy-discussion] PyDocWeb "the doc editor" and github transition

2010-07-17 Thread Vincent Davis
I have not seen anything about the move to github and how this effects pydocweb or did I just miss it. I am willing to adapt pydocweb to work with github but not sure what the desired integration would be. This should not be to difficult but should/needs to be part of the plan and documented. My in

Re: [Numpy-discussion] ? FAIL: test_print.test_complex_types(, )

2010-07-03 Thread Vincent Davis
On Sat, Jul 3, 2010 at 6:36 AM, Ralf Gommers wrote: > > > On Wed, Jun 30, 2010 at 1:08 PM, Vincent Davis > wrote: >> >> I didn't find these documented anywhere, I have numpy(couple day old >> snapshot) install on python 2.7 OSX 64bit. > > I see those

Re: [Numpy-discussion] sum up to a specific value

2010-07-01 Thread Vincent Davis
uot; it and it is ugly) solution = None for r in range(len(alist): for comb in itertools.combinations(alist, r): if sum(comb)==TheValue: solution=comb break break > > > > 2010/7/1 Vincent Davis : >> On Thu, Jul 1, 2010 at 3:17 AM, Renato Fabbri &g

Re: [Numpy-discussion] sum up to a specific value

2010-07-01 Thread Vincent Davis
On Thu, Jul 1, 2010 at 3:17 AM, Renato Fabbri wrote: > hi, > i need to find which elements of an array sums up to an specific value > > any idea of how to do this? Not sure if there is a better way but a brut force way would be to >>> a array([[ 7., 5., 9., 3.], [ 7., 2., 7., 8.],

[Numpy-discussion] ? FAIL: test_print.test_complex_types(, )

2010-06-29 Thread Vincent Davis
I didn't find these documented anywhere, I have numpy(couple day old snapshot) install on python 2.7 OSX 64bit. Thanks Vincent == FAIL: test_print.test_complex_types(,) Check formatting of complex types. --

Re: [Numpy-discussion] numscons and Python 2.7 problems

2010-06-28 Thread Vincent Davis
On Fri, Jun 25, 2010 at 12:05 PM, Christoph Gohlke wrote:> > > On 6/7/2010 1:58 PM, Charles R Harris wrote: >> >> >> On Mon, Jun 7, 2010 at 2:07 PM, Christoph Gohlke > > wrote: >> >>     Dear NumPy developers, >> >>     I was trying to build numpy 2.0.dev and scipy 0.9.dev

Re: [Numpy-discussion] numpy.random.poisson docs missing "Returns"

2010-06-26 Thread Vincent Davis
On Sat, Jun 26, 2010 at 4:22 PM, wrote: > On Sat, Jun 26, 2010 at 6:11 PM, David Goldsmith > wrote: >> On Sat, Jun 26, 2010 at 3:03 PM, wrote: >>> >>> On Sat, Jun 26, 2010 at 5:56 PM, David Goldsmith >>> wrote: >>> > Something is systematically wrong if there are this many problems in the >>>

[Numpy-discussion] Try this, new tests for numpy.random

2010-06-26 Thread Vincent Davis
I added a set of simple testes for numpy.random. These test only test that you get results and that they are stable. (see attachment) That said I get several errors (see below) as a result I assume of how the resent enthought 6.2 beta does the calculation (The tests results are from numpy running o

Re: [Numpy-discussion] numpy.random.poisson docs missing "Returns"

2010-06-26 Thread Vincent Davis
cs as I did so. I am moving back to the scipy docs soon. Vincent > > DG > > On Sat, Jun 26, 2010 at 2:40 PM, Vincent Davis > wrote: >> >> numpy.random.poisson docs missing "Returns" >> >> http://docs.scipy.org/doc/numpy/reference/generated/numpy.rando

[Numpy-discussion] numpy.random.poisson docs missing "Returns"

2010-06-26 Thread Vincent Davis
numpy.random.poisson docs missing "Returns" http://docs.scipy.org/doc/numpy/reference/generated/numpy.random.poisson.html#numpy.random.poisson ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discus

[Numpy-discussion] numpy.random.pareto, missing "returns" in the docs

2010-06-26 Thread Vincent Davis
numpy.random.pareto, missing "returns" in the docs http://docs.scipy.org/doc/numpy/reference/generated/numpy.random.pareto.html#numpy.random.pareto Vincent ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinf

Re: [Numpy-discussion] Documentation error in numpy.random.logseries

2010-06-26 Thread Vincent Davis
On Sat, Jun 26, 2010 at 3:18 PM, wrote: > On Sat, Jun 26, 2010 at 5:12 PM, Vincent Davis > wrote: >> On Sat, Jun 26, 2010 at 3:04 PM,   wrote: >>> On Sat, Jun 26, 2010 at 4:58 PM, David Goldsmith >>> wrote: >>>> On Sat, Jun 26,

[Numpy-discussion] printing of array and leading white space ?

2010-06-26 Thread Vincent Davis
This is a little strange and I am not sure what is going on. Look at the number of spaced before the first number in the array. >>> x = np.array([629.54440098249688162, 26186.5470310494529258 ]) >>> x array([ 629.54440098249688162, 26186.5470310494529258 ]) 3 spaces before 629.544... >>> x =

Re: [Numpy-discussion] Documentation error in numpy.random.logseries

2010-06-26 Thread Vincent Davis
On Sat, Jun 26, 2010 at 3:04 PM, wrote: > On Sat, Jun 26, 2010 at 4:58 PM, David Goldsmith > wrote: >> On Sat, Jun 26, 2010 at 1:41 PM, Vincent Davis >> wrote: >>> >>> numpy.random.logseries(p, size=None) >>> >>> but the parameters section,

Re: [Numpy-discussion] Documentation error in numpy.random.logseries

2010-06-26 Thread Vincent Davis
On Sat, Jun 26, 2010 at 2:41 PM, Vincent Davis wrote: > numpy.random.logseries(p, size=None) > > but the parameters section, > Parameters: > loc : float > scale : float > 0. > size : {tuple, int} > Output shape. If the given shape is, e.g., (m, n, k), then m

[Numpy-discussion] Documentation error in numpy.random.logseries

2010-06-26 Thread Vincent Davis
numpy.random.logseries(p, size=None) but the parameters section, Parameters: loc : float scale : float > 0. size : {tuple, int} Output shape. If the given shape is, e.g., (m, n, k), then m * n * k samples are drawn. Notice that p <> loc and what about scale. I'll file a ticket unless I am m

Re: [Numpy-discussion] Technicalities of the SVN -> GIT transition

2010-06-14 Thread Vincent Davis
Is this http://github.com/cournape/numpy going to become the git repo? I guess I am wondering what the progress is of the transition? Vincent On Sun, Jun 6, 2010 at 7:43 PM, David wrote: > On 06/05/2010 11:43 PM, Pauli Virtanen wrote: >> Fri, 04 Jun 2010 15:28:52 -0700, Matthew Brett wrote:

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-13 Thread Vincent Davis
On Sun, Jun 13, 2010 at 5:06 PM, David Cournapeau wrote: > > > On Mon, Jun 14, 2010 at 5:17 AM, Vincent Davis > wrote: >> >> As an update. I was able to get py 3.2.1 current source to build/install. >> After that I was able to build and install the current numpy. Ev

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-13 Thread Vincent Davis
se/__init__.py", line 1, in from nose.core import collector, main, run, run_exit, runmodule File "nose/core.py", line 142 print "%s version %s" % (os.path.basename(sys.argv[0]), __version__) Vincent On Tue, Jun 8, 2010 at 7:02 PM, Vincent Davis wrote: > Have an

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-08 Thread Vincent Davis
Have any of you built py 3.1.2 from source on a mac? Vincent On Tue, Jun 8, 2010 at 6:56 PM, David wrote: > On 06/09/2010 08:04 AM, Vincent Davis wrote: >> I do have limits.h in 10.4 sdk >> >> So what next. Ay Ideas? >> I had tried to build py 3.1.2 from source b

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-08 Thread Vincent Davis
ut still > not finding the right headers. > > Could you check to see that the following file exists: > /Developer/SDKs/MacOSX10.4u.sdk/usr/include/limits.h > > If it does, then I'm really not sure what's going on. > > Zach > > > > On Jun 8, 2010, at 3:35 P

[Numpy-discussion] Mail list idea

2010-06-08 Thread Vincent Davis
I accidentally posted this on scipy list also, I meant it to be here since we already have a tread going about the mail list and I now know there is a moderator :) I prefer the mail list but stackoverflow.com is good. But what I really like about stackoverflow is not the answers but the ability to

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-08 Thread Vincent Davis
('HOME', '/Users/vmd') ('TERM_PROGRAM', 'Apple_Terminal') ('DISPLAY', '/tmp/launch-HlM7T8/org.x:0') ('_', '/usr/local/bin/python3') ('COMMAND_MODE', 'legacy') >>> In the end I am

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-07 Thread Vincent Davis
On Mon, Jun 7, 2010 at 7:26 PM, Ralf Gommers wrote: > > > On Tue, Jun 8, 2010 at 4:46 AM, Vincent Davis > wrote: >> >> On Mon, Jun 7, 2010 at 2:11 PM, Skipper Seabold >> wrote: >> > On Mon, Jun 7, 2010 at 4:02 PM, Vincent Davis >> > wrote: >

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-07 Thread Vincent Davis
Well I am way from my computer so I am not sure what's up. You might give it a bit? Vincent On Monday, June 7, 2010, Zachary Pincus wrote: > > On Jun 7, 2010, at 5:19 PM, Vincent Davis wrote: > >> Here is a link to the full output after typing python setup.py build. >&g

Re: [Numpy-discussion] Is there really a moderator that reviews posts?

2010-06-07 Thread Vincent Davis
On Mon, Jun 7, 2010 at 3:04 PM, PostMaster wrote: > On Mon, Jun 7, 2010 at 14:32,   wrote: >> On Mon, Jun 7, 2010 at 3:14 PM, Vincent Davis >> wrote: >>> I just tried a post and got this. Should I repost without the long >>> section of the terminal output I

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-07 Thread Vincent Davis
On Mon, Jun 7, 2010 at 2:54 PM, Zachary Pincus wrote: > Hi Vincent, > > (1) Fortran compiler isn't necessary for numpy, but is for scipy, > which isn't ported to python 3 yet. > (2) Could you put up on pastebin or somewhere online the full error > you got? > > The problem isn't one of not finding

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-07 Thread Vincent Davis
On Mon, Jun 7, 2010 at 2:11 PM, Skipper Seabold wrote: > On Mon, Jun 7, 2010 at 4:02 PM, Vincent Davis > wrote: >> Going down the prerequisite list I have. >> >> Python 3.1.2 (r312:79360M, Mar 24 2010, 01:33:18) >> [GCC 4.0.1 (Apple Inc. build 5493)] on dar

[Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-07 Thread Vincent Davis
Going down the prerequisite list I have. Python 3.1.2 (r312:79360M, Mar 24 2010, 01:33:18) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> nose.__version__ '0.11.0' I don't really understand the fortran stuff so so I just e

[Numpy-discussion] Is there really a moderator that reviews posts?

2010-06-07 Thread Vincent Davis
I just tried a post and got this. Should I repost without the long section of the terminal output I pasted in ? Your mail to 'NumPy-Discussion' with the subject Installing numpy from source on py 3.1.2, osx Is being held until the list moderator can review it for approval. The reason it is b

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Vincent Davis
On Thu, May 27, 2010 at 10:25 AM, Bruce Southey wrote: > On 05/27/2010 10:40 AM, Vincent Davis wrote: > Can you give an example of what you are trying to do? > arr = np.array([(1,'a'),(2,'b')], dtype =[(num,int),(str, |s2)] No supposed I want to know if I can sum

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Vincent Davis
__ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > *Vincent Davis 720-301-3003 * vinc...@vincentdavis.net my blog <http://vincentdavis.net> | LinkedIn<http://www.linkedin.com/in/vincentdavis&g

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Vincent Davis
On Thu, May 27, 2010 at 1:27 AM, Francesc Alted wrote: > A Thursday 27 May 2010 05:52:22 Vincent Davis escrigué: > > How do I determine if an array's (or column in a structured array) dtype > is > > a number or a string. I see how to determine the actual dtype but all I

[Numpy-discussion] How to distinguish between number and string dypes

2010-05-26 Thread Vincent Davis
How do I determine if an array's (or column in a structured array) dtype is a number or a string. I see how to determine the actual dtype but all I want to know is if it is a string or a number. *Vincent Davis 720-301-3003 * vinc...@vincentdavis.net my blog <http://vincentdavis.net>

Re: [Numpy-discussion] loadtxt raises an exception on empty file

2010-05-24 Thread Vincent Davis
t; np.fromfile('foo.txt', sep='\t\n ') > array([], dtype=float64) > >>> > > Would anybody suggest a graceful way of handling empty files with > numpy.loadtxt() (except for catching an IOError exception)? > > Many thanks, > Masha

Re: [Numpy-discussion] Problems creating numpy.array with a dtype

2010-05-15 Thread Vincent Davis
e > to have an n-dimensional structured array where each element is a > tuple. > > So, I guess, numpy needs the distinction between list and tuples to > know what is an element. > That's from hitting at this very often, I never looked at the numpy > internals for this. >

[Numpy-discussion] recarray question

2010-05-14 Thread Vincent Davis
The setup: >>> Adata array([(1, 24, 'Male', '', 212, 193, 'High Pass'), (2, 26, 'Male', 'Caucasian', 234, 221, 'Honors'), (3, 31, 'Female', 'Caucasian', 182, 189, ''), (4, 27, 'Female', 'Hispanic', 214, 211, 'High Pass'), (5, 27, 'Female', 'Asian', 213, 204, 'Pass'),

Re: [Numpy-discussion] missing='' not documented in genfromtxt()

2010-05-13 Thread Vincent Davis
u, May 13, 2010 at 9:33 PM, Pierre GM wrote: > On May 13, 2010, at 11:06 PM, Vincent Davis wrote: >> Maybe I am missing something but it does not appear that missing='' is >> documented although it is shown s an argument ? > > Because the use of `missing` is deprec

[Numpy-discussion] missing='' not documented in genfromtxt()

2010-05-13 Thread Vincent Davis
Maybe I am missing something but it does not appear that missing='' is documented although it is shown s an argument ? genfromtxt(fname, dtype=float, comments='#', delimiter=None, skiprows=0, skip_header=0, skip_footer=0, converters=None, missing='', m

[Numpy-discussion] bug, issue with genfromtxt

2010-05-02 Thread Vincent Davis
I ran into this issue and it was discussed on the pystatsmodels mailing list. Here is the setup Running on a Mac 10.6 Using Office 2008 Saving an spreadsheet using excel "save as" a csv file. Try to import using genfromtxt fails, report a EOL error I thought this was because the EOL was wrong, It