python-blosc2
python-blosc2 copied to clipboard
Add attributes to acces e.g. cratio, nbytes etc. (to match as far as possible NDArray). Add slice method (follow logic of Caterva2 api_utils.fetch_data function) to return blosc2 arrays not just...
It would be nice to match behaviour of NumPy and have e.g. ``` a = blosc2.linspace(0, 10, num=100, shape=(10,10)) print(a[3, None].shape) # has shape (1,10) ``` so that new dummy...
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.
When using blosc2.open to open a file containing Chinese characters, an error occurs - OS: Windows 10 - blosc2.__version__ '3.10.0' blosc2.open('E:\\456\\测试array.b2') Traceback (most recent call last): File "D:\Tools\jetbrains\PyCharm 2025.2.0.1\plugins\python-ce\helpers\pydev\pydevconsole.py", line...
This should support Unicode characters (including Chinese on Win) in file names. @lshaw8317 please check that on a windows box (although CI will run one instance for us).
In order to make function evaluation properly lazy, all functions (e.g. matmul) should be implemented as LazyUDFs. Secondly, the lazyexpr machinery of compute should loop over chunks of the result....
It might be nice to add the following functions to blosc2, which are included in the linalg module of the array-api standard. See src/blosc2/linalg.py for function signatures. - [ ]...
The following is a summary of the failing tests in the array-api-tests suite. When you have managed to make the test pass, mark the box next to the file. There...
# CTable Object Specification This document outlines the specifications for a new `CTable` object. A `CTable` will provide a high-performance, disk-based, columnar data structure. ## Core Properties The `CTable` object...
Following [this comment](https://github.com/data-apis/array-api/discussions/968#discussioncomment-14350012), add a thinly wrapped native Blosc2 class for decompressed arrays, which are currently just plain NumPy arrays. Would have to support certain additional operations and comparisons (``==``,...