A Python library for unevenly-spaced time series analysis
Project description
A Python library for unevenly-spaced time series analysis. Greatly inspired by traces.
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_evenly_spaced = ts.sample(freq=onemin)
# if pandas installed:
df = 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.7.tar.gz
(129.3 kB
view hashes)
Built Distribution
Close
Hashes for ticts-0.1.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bacf86506db2c236b415ab4d5d365f38e49751761baaff4454d5defbbc5fd628 |
|
MD5 | be23827e745013aca2b0f6e588a206da |
|
BLAKE2b-256 | b1ce1e722801da41b7bbdbb850a58b274e72078b110685708a4e8647f607e3e4 |