Blosc/python-blosc2

[Tutorial] CTable copy() with reblocking and recompression

Open

#644 opened on Jun 2, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (47 forks)auto 404
documentationgood first issue

Repository metrics

Stars
 (207 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide