time series data and NumPy

BBands bbands at gmail.com
Fri Jan 26 17:37:34 EST 2007


On Jan 26, 10:18 am, Bob Greschke wrote:

> You're using the Python-MySQL module mysqldb, right?

Actually I using MySQL with pyodbc as the mysqldb Windows binaries for
Python 2.5 aren't out yet. :-(

> You can select the data from the database and have
> MySQL do the conversion with an SQL command.
>
> select to_days(<your date column name here>),
> <your close column> from <your table>;

That works very nicely indeed.

Thanks,

    jab




More information about the Python-list mailing list