A Python library for unevenly-spaced time series analysis
Project description
A Python library for unevenly-spaced time series analysis.
Get Started Notebook.
Usage
from ticts import TimeSeries
ts = TimeSeries({
'2019-01-01': 1,
'2019-01-01 00:10:00': 2,
'2019-01-01 00:11:00': 3,
})
assert ts['2019-01-01 00:05:00'] == 1
ts['2019-01-01 00:04:00'] = 10
assert ts['2019-01-01 00:05:00'] == 10
assert ts + ts == 2 * ts
from datetime import timedelta
onemin = timedelta(minutes=1)
ts.sample(freq=onemin)
# if pandas installed:
ts.to_dataframe()
Installation
pip install ticts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ticts-0.1.0.tar.gz
(39.8 kB
view hashes)
Built Distribution
Close
Hashes for ticts-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8562b4e6afe2c4fe849ae0b286189691d7f2d8eadd480cdf4378cfe1af49bc2 |
|
MD5 | ee9b138bf584d4bdbc1215bc37d69d35 |
|
BLAKE2b-256 | 93744d15f672d4bed82d6485f21b0d02a72b9b26cf30feff8351b5674d31c9db |