ranaroussi / pystore

Fast data store for Pandas time-series data
Apache License 2.0
565 stars 101 forks source link

Writing pandas.Series fails #39

Open dbrakenhoff opened 4 years ago

dbrakenhoff commented 4 years ago

Does Pystore support writing pandas.Series? I'm getting an error when attempting to write a pandas.Series to a pystore.collection because the pandas.Series.memory_usage() returns an int instead of a pandas.Series. And calling .sum on an int raises an error.

The line where this occurs is shown below: https://github.com/ranaroussi/pystore/blob/40de1d51236fd6b6b88909c83dc6d7297de4b471/pystore/collection.py#L131-L132

Not sure whether this is an issue, but I figured I'd ask!