Blosc/python-blosc2

[Tutorial] CTable copy() with reblocking and recompression

Open

#644 ouverte le 2 juin 2026

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Python (47 forks)auto 404
documentationgood first issue

Métriques du dépôt

Stars
 (207 stars)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur