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.2.2.tar.gz
(131.3 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
ticts-0.2.2-py2.py3-none-any.whl
(10.4 kB
view details)
File details
Details for the file ticts-0.2.2.tar.gz.
File metadata
- Download URL: ticts-0.2.2.tar.gz
- Upload date:
- Size: 131.3 kB
- Tags: Source
- 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.2 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d52fbcdffafe0e56438964bea3685fdcb87d7032eeb1fcd96633753e0fc599a
|
|
| MD5 |
948f2643e048fa37381d9a1401a71da7
|
|
| BLAKE2b-256 |
9085fd7163d2a8c205cea1d99fdf4a26a0759706f0f642f05898bfd2ced5d6cb
|
File details
Details for the file ticts-0.2.2-py2.py3-none-any.whl.
File metadata
- Download URL: ticts-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 10.4 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.2 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cbc0a31f5008afec27e8c44e773f1f5245df8ee07f6d30aa2973c843fe597e4
|
|
| MD5 |
6eba648c8a87918ec82b71a6640909c4
|
|
| BLAKE2b-256 |
e23f340c20c43129a17bba54d994182b25d941ef5d85d49b5cc3d60390df6bab
|