Re: [Numpy-discussion] Python 3.n and Scipy Numpy

2009-07-31 Thread BBands
A short field report. Python 2.6.2 installed and working with the latest versions of: numpy scipy MySQLdb gnuplot.py and gnuplot rpy and R 2.9.1 PyScripter PyWin32 Rpyc 2.6 The little bit of 3.n syntax I have tried works. So far, this seems like a stable and trouble-free stack. Thanks for the f

Re: [Numpy-discussion] Python 3.n and Scipy Numpy

2009-07-30 Thread BBands
On Thu, Jul 30, 2009 at 12:33 PM, Neil Martinsen-Burrell wrote: > On 2009-07-30 14:13 , BBands wrote: >> Could someone point me toward some information on Scipy/Numpy and >> Python 3.1? I'd like to upgrade, but can't seem to find the path. > > There is no such path

[Numpy-discussion] Python 3.n and Scipy Numpy

2009-07-30 Thread BBands
Could someone point me toward some information on Scipy/Numpy and Python 3.1? I'd like to upgrade, but can't seem to find the path. jab ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussi

[Numpy-discussion] query to array

2007-01-31 Thread BBands
Good afternoon, The following works: import pyodbc import numpy as np connection = pyodbc.connect('DSN=DSNname') cursor = connection.cursor() symbol = 'ibm' request = "select to_days(Date), Close from price where symbol = '" + symbol + "' and date > '2006-01-01'" for row in cursor.execute(reques

[Numpy-discussion] inplace operations

2007-01-26 Thread BBands
If I have a NumPy array like so: [[1, 12], [2, 13], [3, 14], [4, 15], [5, 16], [6, 15], [7, 14]] How can I do an inplace diff, ending up with this? [[1, 0], [2, 1], [3, 1], [4, 1], [5, 1], [6, -1], [7, -1]] Also, can I covert to natural logs in place? [[1, 2.4849], [2, 2.5649], [