473,665 Members | 2,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Class for Time Series Data

Hi, I am trying to build up a system handling time series data a lot.
Do you know any well-designed python class specially for time series data?
Thanks in advance.

Shin, Daehyok
Jul 18 '05 #1
4 6897
sd****@yahoo.co m (sdhyok) wrote in message news:<42******* *************** ****@posting.go ogle.com>...
Hi, I am trying to build up a system handling time series data a lot.
Do you know any well-designed python class specially for time series data?
Thanks in advance.

Shin, Daehyok


I use a 1-D Numeric array to store the data of a time series. What is
missing in the Numeric array that you want? It is easy to write Python
functions to compute things like the autocorrelation function or the
coefficients of an autoregressive model, using the features of Numeric
and the accompanying LinearAlgebra module, which can fit regressions
via least squares.
Jul 18 '05 #2
Not only for ad-hoc calculations.
I am looking for some serious works for time series data,
like ts class in R.

Daehyok

be*******@aol.c om wrote in message news:<30******* *************** ****@posting.go ogle.com>...
sd****@yahoo.co m (sdhyok) wrote in message news:<42******* *************** ****@posting.go ogle.com>...
Hi, I am trying to build up a system handling time series data a lot.
Do you know any well-designed python class specially for time series data?
Thanks in advance.

Shin, Daehyok


I use a 1-D Numeric array to store the data of a time series. What is
missing in the Numeric array that you want? It is easy to write Python
functions to compute things like the autocorrelation function or the
coefficients of an autoregressive model, using the features of Numeric
and the accompanying LinearAlgebra module, which can fit regressions
via least squares.

Jul 18 '05 #3
I have found Gustavo Niemeyer's DateUtil to be very helpful.

https://moin.conectiva.com.br/DateUtil

seems to have similar capabilities to R's ts...

it extends the datetime class introduced in python2.3

HTH
Selwyn.

sdhyok wrote:
Hi, I am trying to build up a system handling time series data a lot.
Do you know any well-designed python class specially for time series data?
Thanks in advance.

Shin, Daehyok


Jul 18 '05 #4
sdhyok schrieb:
Hi, I am trying to build up a system handling time series data a lot.
Do you know any well-designed python class specially for time series data?
Thanks in advance.

Shin, Daehyok

Just by chance I found a new (new for me) compilation of different
python tools at the adress
http://www.enthought.com/python/

The content of the compilation is:
Python 2.3 for Windows (Enthought Edition)

In addition to all of the features provided with the standard Python 2.3
distribution, *Python 2.3 for Windows (Enthought Edition)* also includes
the following additional packages:

* wxPython 2.4.1.2 <http://www.wxpython.or g/>: wxWindows for Python
* PIL 1.1.4 <http://www.pythonware. com/products/pil/>: Python
Imaging Library
* VTK 4.2.2 <http://public.kitware. com/VTK/>: 3D Visualization Toolkit
* MayaVi 1.2 <http://mayavi.sourcefo rge.net/>: 3D Data Visualization
Tool
* Numeric 23.1 <http://www.pfdubois.co m/numpy/>: Numerical Python
* SciPy 0.2 <http://www.scipy.org>: Scientific Library for Python
* ScientificPytho n 2.4.3
<http://starship.python .net/%7Ehinsen/ScientificPytho n/>: A
collection of Python modules for scientific computing
* F2PY 2.35.229-1505 <http://cens.ioc.ee/projects/f2py2e/>: A
Fortran to Python interface generator
* Chaco 0.1.0 <http://www.scipy.org/site_content/chaco>: Plotting
toolkit for Python
* Traits 1.0.2 <http://www.scipy.org/site_content/traits>: Strong
typing for Python
* PyCrust 0.7.2 <http://sourceforge.net/projects/pycrust/>:
GUI-based Python shell
* ZODB3 3.1 <http://sourceforge.net/projects/zodb/>: ZODB and ZEO
Object DataBase
* Gadfly 1.0.0 <http://gadfly.sourcefo rge.net/>: An SQL Relational
Database in Python
* PySQLite 0.4.3 <http://pysqlite.source forge.net/>: A Python
Extension for the SQLite embedded relational database

May be you find there what you are looking for? (There is also a
compilation for python2.2 available.)

Basically for time series analyses you always first need a management
tool for the data. I think you my find that at
http://www.pfdubois.com/numpy/. Second you need numeric methods to
analyse the data. Many helpful tools you may find at
http://starship.python.net/~hinsen/ScientificPython/ or
http://www.scipy.org/. Third, may be you will have graphical
presentation - you also will find pythontools on the net for different
graphic systems.

For a precise answer to your specific needs you should specify your plan
more precisly. Time series analyses is a huge filed of interest with
many centers of application.

Best regards
Bernhard

Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1864
by: pandy.song | last post by:
In my project, there is a class "Father", from which lots of "CHILD" class are inherited. For the system is real-time embedded system, "new" operation is applied here. I want to pre-allocate a series of general "CHILD" instances. Every time I want a specified "CHILD" , I get one from a link list.
2
1754
by: PepsiDrinker | last post by:
Hello! :^) I am trying to implement a class library for dealing with time series. I have to use time series with seasonable component and without it. Also, time series can be stored in memory or in a database. The problem is to make 4 following classes: 1. non-seasonable and storable in memory 2. seasonable and storable in memory 3. non-seasonable and storable in database 4. seasonable and storable in database
9
2220
by: David A. Osborn | last post by:
I have a set of classes that each have an enumeration in them, and based on dynamic input I need to access a different enumeration. For example Three classes Class_A, Class_B, and Class_C that all have a different enumeration in them called Properties. I want to basically have a variable The_Class that I can dynamically point to either Class_A, Class_B, or Class_C and then do The_Class.properties to get the correct enumeration. How...
14
3124
by: Peter Hallett | last post by:
I would like to set up a string array as a class member, or field, and then populate this array by reading in from a text file, but I cannot find the appropriate syntax. The getter and setter are very unhappy with the idea and the compiler refuses to play ball with any of the attempts I have made to build such a structure. There is no problem when using a single string but a two dimensional array of strings appears to be a very different...
5
3517
by: Ray Tomes | last post by:
Hi Folks I am an old codger who has much experience with computers in the distant past before all this object oriented stuff. Also I have loads of software in such languages as FORTRAN and BASIC, QBASIC etc that is very useful except that it really doesn't like to run on modern operating systems and has hopeless graphics resolution and lack of ease of use in some ways.
6
10243
by: BBands | last post by:
Good morning, I store time series data in a SQL database. The results of a typical query using pyodbc look like this. Date Close "2007-01-17" 22.57 Where Date is a datetime.date object and Close is a float.
0
1067
by: John Henry | last post by:
I am looking for a simple Python function for handling a set of time series data. For instance, I might have the following raw data (year's worth): 1/1/2005 12:00 AM 11.24 1/1/2005 12:10 AM 12.31 1/1/2005 12:20 AM 12.06 1/1/2005 12:30 AM 11.61 1/1/2005 12:40 AM 11.12 1/1/2005 12:50 AM 11.74
33
5547
by: desktop | last post by:
In the C++ standard sec 23.1.2 table 69 it says that erase(q) where q is a pointer to an element can be done in amortized constant time. I guess that is not worst case since std::set is practically a red-black tree where insert/delete takes O(lg n) time. Or are there some other explanation for this complexity?
4
5900
by: keirnus | last post by:
Hello, I've been coding in Access VBA to create an Excel Graph and it was good. Until I got this error: Please check the code below: Private Sub TestGraph3()
0
8438
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8348
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8863
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8549
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8636
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4356
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2004
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1761
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.