rerun-parquet
O que ela faz
Esta skill explica como mapear uma tabela Parquet para o modelo de dados do Rerun usando configuração, em vez de código personalizado. É para quem tem dados tabulares de robôs ou sensores guardados em arquivos Parquet.
Quando usar
- ✓Quando você tem um arquivo Parquet de trajetórias de robôs ou leituras de sensores para carregar no Rerun.
- ✓Quando precisa decidir quais colunas viram linhas do tempo, entidades ou componentes agrupados.
- ✓Quando alguém sugere reestruturar um arquivo Parquet no pandas antes e você quer um caminho mais simples.
Link da skill
https://github.com/rerun-io/rerun/blob/main/skills/rerun-parquet/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Tenho um arquivo Parquet com posições de juntas ao longo do tempo. Como carrego isso no Rerun com a linha do tempo certa?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente configura um leitor que agrupa as colunas pelo prefixo do nome e marca as colunas de tempo como linhas do tempo. Depois adiciona lenses que transformam os valores agrupados em componentes tipados do Rerun.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Rerun parquet ingestion
ParquetReader is a pure reader: it maps a flat table onto the Rerun
model by turning raw columns into grouped, time-indexed chunks of struct and
scalar components. Column-name prefixes become entities, grouped columns
become a single struct component, designated columns become timelines. The
reader does not assemble archetypes anymore — mapping struct fields into
typed Rerun components (Transform3D, Scalars, Points3D) is done with lenses on
the reader's .stream(). The whole reader job is configuration; fill in the
rerun-data-model mapping table first, then express it through stream().
Stream mechanics after .stream() are in rerun-chunk-processing.
The whole table is configuration, not code. If you find yourself building
Chunk.from_columns from a parquet, or munging it in pandas first, stop —
ParquetReader plus a lens almost certainly expresses it. Anything the reader
cannot express (per-row entity routing, derived values, unit conversion)
belongs in lenses downstream, not in pre-pandas munging; keep the pipeline
columnar.
The API
from rerun.chunk import DeriveLens, IndexColumn
from rerun.experimental import ParquetReader
reader = ParquetReader(table_path) # a lightweight handle over the file
stream = reader.stream(
entity_path_prefix="/world", # prepended to every entity path
column_grouping="prefix", # "prefix" | "individual" | "explicit_prefixes"
delimiter="_", # split for column_grouping="prefix"
prefixes=None, # required for "explicit_prefixes"
use_structs=True, # pack grouped columns into one struct component
static_columns=["robot_type"], # constant-per-file values, logged static
index_columns=[IndexColumn.timestamp("timestamp", input_unit="us"), IndexColumn.sequence("frame_index")],
)
The constructor takes only path; all loading options live on stream(), and every one is keyword-only.
Each stream() call is independent, so one reader can drive several differently-configured streams over the same file.
The config is validated against the file's schema at stream() (missing index/static columns raise ValueError there, not mid-iteration).
There is no column_rules kwarg — typed-component assembly moved to lenses (below).
What the reader emits
The reader turns the table into chunks, one chunk per group, then leaves the data as generic struct/scalar components for lenses to map. The naming is the key thing the rest of the pipeline keys off:
A grouped multi-column prefix
X→ entity/X, with a single struct component nameddata. The struct's fields are the column names with the prefix (and delimiter, for"prefix") stripped. SoA_pos_x,A_quat_wunder prefixAland as structdatawith fieldspos_x,quat_won entity/A.A lone column with no group → its own entity named after the column, and a raw component named after the column — not a
datastruct. So aspeedcolumn becomes entity/speed, componentspeed.A
/__propertiesmetadata chunk built from the parquet file's schema metadata. You typically drop it right after.stream():stream = reader.stream().drop(content="/__properties/**")
Column grouping: which columns share an entity
"prefix"(default): split each column name ondelimiter, group by the first segment.gripper_pos_x,gripper_pos_y→ entity/gripper, structdata{pos_x, pos_y}."explicit_prefixes": group by the exact strings inprefixes, tried longest-first; the prefix is stripped from each struct field name (a raw string match, no delimiter —foo+a→ fielda). Columns matching no prefix become individual groups. Use this when names contain the delimiter ambiguously (observation.statevsobservation.images.top: pass the full prefixes)."individual": every column is its own chunk/entity with a raw component named after the column — no struct packing at all, even for columns sharing a prefix.use_structsis ignored here. Rarely the model you want; reach for it only as a debugging baseline.
use_structs=True (default) packs a group's columns into a single Arrow
struct component (the data field) for "prefix"/"explicit_prefixes";
False emits one component per column (the pre-struct flat layout, what
queries see as separate columns).
Timelines: index_columns
Each entry is built with IndexColumn: `IndexColumn.timestamp(
Perguntas frequentes
Qual coluna deve ser a linha do tempo?
A skill faz você marcar a coluna de tempo ou de índice como linha do tempo, para que todos os dados se alinhem a ela ao visualizar a gravação.
Preciso escrever código Python?
A skill trata o mapeamento como configuração. Código só é necessário para etapas que o leitor não consegue expressar, e essas são tratadas com lenses.
O que é um lens?
Um lens é uma pequena regra que transforma colunas agrupadas brutas em um componente tipado do Rerun, como uma transformação ou um conjunto de valores escalares.
Detalhes
Descrição original do autor
Ingest tabular Parquet files into Rerun chunk streams with rerun.experimental.ParquetReader. Read when converting trajectory or sensor tables (LeRobot-style parquet, exported logs) into entities and components — column grouping, timeline/index columns, static columns, and lenses (DeriveLens) that assemble the typed components (Transform3D, Scalars) from the reader's grouped struct/scalar output. Builds on rerun-chunk-processing and rerun-data-model.
repo: rerun-io/rerun
Popularidade
- Estrelas no GitHub
- 12 mil
- Posição no ranking
- #11557
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
investigate-puffin
12 milPermite que seu agente investigue gravações do profiler Puffin (arquivos .puffin), encontre trechos de código lentos e compare traces de antes e depois de uma mudança.
rerun-blueprint
12 milEnsina seu agente a mudar a aparência do visualizador Rerun escrevendo um blueprint para uma gravação ou tabela, incluindo layout, views e colunas ocultas.
rerun-catalog-queries
12 milAjuda seu agente a consultar mais rápido um catálogo Rerun em Python, com dicas sobre idas e voltas, tamanho dos dados e leituras lentas de conjuntos de dados.
rerun-chunk-processing
12 milEnsina seu agente a criar pipelines de dados Rerun com leitores e lentes que convertem arquivos MCAP, Parquet, vídeo ou RRD em gravações.
Skills parecidas
gitcrawl
394 milPermite que seu agente pesquise um arquivo salvo de issues e pull requests do GitHub, agrupe os duplicados e verifique o status atual deles no GitHub.
slacrawl
394 milPermite que seu agente pesquise e conte mensagens em um arquivo local do Slack, verifique quão atualizado ele está e o atualize quando necessário.
goplaces
394 milAjuda seu agente a buscar lugares, obter detalhes e avaliações e identificar nomes de lugares usando o Google Places, com saída em JSON para scripts.