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.3.tar.gz
(129.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ticts-0.1.3.tar.gz.
File metadata
- Download URL: ticts-0.1.3.tar.gz
- Upload date:
- Size: 129.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90a6dca66aeb5295624c5e859bf95380f769b93386940ae053f47f17f793b85c
|
|
| MD5 |
6aa1ed7c7ba856f640b729e57d1c343c
|
|
| BLAKE2b-256 |
7a111ebaf21594676424aac8305a3f5a1cf74034bd1f435a3ef7c5b1670d8d9c
|
File details
Details for the file ticts-0.1.3-py2.py3-none-any.whl.
File metadata
- Download URL: ticts-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a250b64e8b31ae217441943ad72d6a84b473b759100638f7194f6f6eeb94a94d
|
|
| MD5 |
393df9a4412d04069f904d2d52b2dcbf
|
|
| BLAKE2b-256 |
81a00437f5e70e49a6e5f74457e73466d38b152cdb276554825ac738930e6f33
|