python-blosc2 icon indicating copy to clipboard operation
python-blosc2 copied to clipboard

Item for lazy expressions does not work as intended

Open lshaw8317 opened this issue 8 months ago • 1 comments

Expected behaviour for eg.

lexpr = blosc2.lazyexpr('mean(a + b)')
lexpr[:10]

is to slice a[:10] and b[:10] and then calculate mean but this isn't happening.

lshaw8317 avatar Aug 13 '25 16:08 lshaw8317

Relatedly, it would be good if default behaviour of reductions acting on blosc2 arrays were to return blosc2 arrays (not numpy arrays, as happens currently).

lshaw8317 avatar Oct 03 '25 14:10 lshaw8317