polars-arrow 0.53.0

Minimal implementation of the Arrow specification forked from arrow2
Documentation
1
2
3
4
5
6
7
8
use proptest::prelude::{Strategy, any_with};
use proptest::sample::SizeRange;

use super::Bitmap;

pub fn bitmap(size_range: impl Into<SizeRange>) -> impl Strategy<Value = Bitmap> {
    any_with::<Vec<bool>>(size_range.into().lift()).prop_map(Bitmap::from_iter)
}