tempodb-pandas

Pandas functions for converting between Tempo data types


License
Other
Install
pip install tempodb-pandas==0.1.1

Documentation

Welcome!

TempoDB-pandas is a wrapper package for composing Pandas time-series operations and data structures with TempoDB’s.

Using It

It’s really quite dead-simple to use:

from tempodb_pandas import fromTempo, flipDatumSign
from numpy import negative

# Do a tempodb read
res = client.read_key("somekey", somestart, someend, 'PT1H)
series = fromTempo(res.data)

# Now you can do fun stuff with the time series
series.resample('1H', fill_method='pad')

# Some convenience (more coming later)
flipDatumSign(series, '1H') == series.resample('1H', how=negative)