tempodb / tempodb-python

Python client for TempoDB
MIT License
28 stars 19 forks source link

Pandas time series object #40

Open ixmatus opened 10 years ago

ixmatus commented 10 years ago

I'm doing this in my own fork anyway but an arg to have tempo python lib load series data to / from pandas time series objects would be stellar.

Our data is pretty much touched by pandas anytime read.

meshulam commented 10 years ago

Do you have a branch where we can see how you've implemented this?

I don't think it would make sense to add Pandas as a dependency for the TempoDB client, but seems like it would still be a useful addon utility.

ixmatus commented 10 years ago

I'll clean it up and push the branch to my fork.

The dependencies are too heavy to be included whole-sale into it. I'm mostly a Haskell programmer so I don't actually know what the best way to introduce Pandas into the TempoDB client would be without building a convoluted module / plugin / hook system.

Maybe there's just the TempoDB Client and then a higher-level (and heavier) TempoDB-Pandas package that can provide an API layer for composing TempoDB client operations with the Pandas DataFrame type and TimeSeries operations.

ixmatus commented 10 years ago

https://github.com/ixmatus/tempodb-pandas https://pypi.python.org/pypi/tempodb-pandas/0.1