Skip to content

Latest commit

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

DF

Columnar in-memory DataFrames in Rust

Install

$ cargo build
# In a python 3 virtualenv
$ pip install ipython requests

Server and Python client

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()

Running the tests

$ RUST_BACKTRACE=1 cargo test --test lib

About

Columnar in-memory DataFrames

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages