Blosc/python-blosc2

[Tutorial] CTable copy() with reblocking and recompression

Open

#644 创建于 2026年6月2日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (47 fork)auto 404
documentationgood first issue

仓库指标

Star
 (207 star)
PR 合并指标
 (PR 指标待抓取)

描述

The CTable.copy() method gained new chunks=, blocks=, and cparams= overrides in this release, but there is no tutorial showing when and why you would use them. There is a standalone example at examples/ctable/copying.py, but no notebook integrated into the tutorial sequence.

Suggested work: Add a notebook 16.ctable-copy.ipynb to doc/getting_started/tutorials/ covering:

  • Basic in-memory and persistent copy
  • Reblocking: how block size affects SUMMARY index granularity and query pruning
  • Recompression: switching codecs (ZSTD → LZ4) and what to expect on size vs speed
  • Copying a projected view (select().copy()) to persist a column subset

贡献者指南