Skip to main content

A Python library for unevenly-spaced time series analysis

Project description

codecov travis Python version 3.5+ Pypi package Documentation Status

A Python library for unevenly-spaced time series analysis. Greatly inspired by traces.

example

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


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.1.tar.gz (131.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ticts-0.2.1-py2.py3-none-any.whl (10.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ticts-0.2.1.tar.gz.

File metadata

  • Download URL: ticts-0.2.1.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

Hashes for ticts-0.2.1.tar.gz
Algorithm Hash digest
SHA256 98cb7fb134383ec42d4535824859e578e3583d155122a0b484ecb18afcee63d6
MD5 4a82cf6be42c1da0ae7f8e71bbaae1d8
BLAKE2b-256 703b97d17c250a6cef3ccfd20e219bffd81609bc24710acc6dad75b3115489f4

See more details on using hashes here.

File details

Details for the file ticts-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ticts-0.2.1-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

Hashes for ticts-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 511a00845f1025f7016a60bb5eab1912b14697b047475ffb6709998b0149a580
MD5 c78283a9cd5f8f139c2850b7d74ec0c8
BLAKE2b-256 91cde570e6bab68d3dd09dde0db559eee77034127de16961ea2daaa8acce7d6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page