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.1.6.tar.gz (128.6 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.1.6-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: ticts-0.1.6.tar.gz
  • Upload date:
  • Size: 128.6 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.1 CPython/3.6.3

File hashes

Hashes for ticts-0.1.6.tar.gz
Algorithm Hash digest
SHA256 933d07e483aad8d8dd515a55629a0c2057d3429f3d1d1a4a323f0289e1236b12
MD5 6b2eb3a7076dd27ae2aa2cd91d49932d
BLAKE2b-256 32f7839e1b7b91b144c8872aba4fef6835c8e2c4dab3270088ab06b096c45adc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ticts-0.1.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.0 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

Hashes for ticts-0.1.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9d284942a72ddbbb7f12c747e45b795e023b18465cfefb02a9dc9eac9da6a0d0
MD5 e604228f9c39089933b5d83a7ecc97e1
BLAKE2b-256 d9de05450808c268c7ecf4a9cb53e70b6cf6eaf2c0b3a2dd0e24cfd3cc762a37

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