Stars PyPIDownloads PyPI Build Status Coffee

intervalframe – DataFrame with intervals as the index#

The Python-based implementation efficiently deals with many intervals.

Benchmark#

Test numpy random integers, see benchmarking

Library

Function

Time (ms)

intervalframe

single overlap

3.18

pandas

single overlap

7.4

As of conducting these benchmarks, only ncls and ailist have bulk query functions.

Library

Function

Time (s)

Max Memory (GB)

ncls

bulk overlap

~151

>50

ailist

bulk overlap

~17.9

~9

Querying intervals is much faster and more efficient with ailist

IntervalFrame provides a scalable way to store and search overlapping intervals

See the code and discuss development on GitHub.

Release Notes#

General overhaul

Documentation overhaul

Indices and tables#