Read a little review article with code examples at TowardsDataScience.
RedBlackPy is a light Python library that provides data structures aimed at fast insertion, removal and self sorting to manipulate ordered data in efficient way. The core part of the library had been written on C++ and then was wrapped in Cython. Hope that many would find the primary data structures of this library very handy in working with time series. One of the main feature of this structures is an access by arbitrary key using interpolation, what makes processing of multiple non synchronized time series very simple. All data structures based on red black trees.
Now RedBlackPy requires Cython installation. If you have not Cython, run in your command line:>> pip install cython
>> python setup.py install
>> pip install redblackpy
The first release is presented by two classes: Series and SeriesIterator. See Documentation and User Guide for usage.
We have include pxd files for Cython users. See source.Feel free to contact us about any questions. Website of our team IntuitionEngineering.
Core developer email: hypo@intuition.engineering.
Intuition dev email: dev@intuition.engineering.