Columnar in-memory DataFrames in Rust
$ cargo build
# In a python 3 virtualenv
$ pip install ipython requests
In one shell start the server
$ cargo run --release server
And in another shell connect to it with the Python client
$ ipython -i client.py
Then you can interact with the server using the Df class
schema = Schema([('int', Type.INT),
('string', Type.STRING),
('bool', Type.BOOL)])
df = Df.from_csv('data/small.csv', schema) \
.filter('bool', Predicate(Comparator.EQUAL, Value(True))) \
.select([c('int')]) \
.aggregate({'int': Aggregator.AVERAGE})
df.collect()
$ RUST_BACKTRACE=1 cargo test --test lib