/fastexcel

POC for reading excel files faster than with pandas

Primary LanguageRust

How to launch

First, install maturin.

For debug mode, you can just use maturin develop and run python (or ipython) to start a python shell.

For prod mode (required for profiling):

maturin build --release
pip install --force-reinstall target/wheels/fastexcel-*.whl

Dev tips

  • Use cargo check to verify that your rust code compiles, no need to go through maturin every time
  • cargo clippy = 💖
  • Careful with arrow constructors, they tend to allocate a lot
  • mprof and time go a long way for perf checks, no need to go fancy right from the start