Skip to content

evanwporter/Sloth

Repository files navigation

Sloth

(named sloth becuase koala was taken)

Aimed to be a faster pandas, by being a thin wrapper for numpy. Keep in mind that this is not a replacement for pandas as only a few features are supported. If you want more features code them up yourself.

Currently only indexing and resampling is supported.

More detailed and accurate benchmarks between Sloth and Pandas coming soon.

This program is fast like Flash.

Benchmarks

CMD Sloth Pandas
iloc[0] 2.58 µs ± 298 ns 168 µs ± 18.9 µs
iloc[5:300000] 3.48 µs ± 251 ns 210 µs ± 15.1 µs

benchmark_results

Still not fast enough? Try Cloth!

Where

Link URL
docs https://evanwporter.github.io/Sloth
code https://github.com/evanwporter/Sloth
cloth https://github.com/evanwporter/Sloth/tree/experimental