gjeusel
ticts
Python

A Python library for unevenly-spaced time series analysis

Last updated Dec 16, 2025
16
Stars
5
Forks
1
Issues
0
Stars/day
Attention Score
37
Language breakdown
Python 98.4%
Makefile 1.3%
Shell 0.3%
Files click to expand
README

ticts logo

Test Suite Coverage Package version MKDocs github page

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

Example plot

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,
})

notinindex = '2019-01-01 00:05:00' assert ts[notinindex] == 1 # step function, previous value

ts['2019-01-01 00:04:00'] = 10 assert ts[notinindex] == 10

assert ts + ts == 2 * ts

tsevenlyspaced = ts.sample(freq='1Min')

From ticts to pandas, and the other way around

assert ts.equals( ts.todataframe().toticts(), )

Installation

pip install ticts
🔗 More in this category

© 2026 GitRepoTrend · gjeusel/ticts · Updated daily from GitHub