rerun-parquet
What it does
This skill explains how to map a Parquet table onto the Rerun data model using configuration instead of custom code. It is for people who have tabular robot or sensor data stored in Parquet files.
When to use it
- βWhen you have a Parquet file of robot trajectories or sensor readings to load into Rerun.
- βWhen you need to decide which columns become timelines, entities or grouped components.
- βWhen someone suggests reshaping a Parquet file in pandas first and you want a simpler route.
Skill link
https://github.com/rerun-io/rerun/blob/main/skills/rerun-parquet/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI have a Parquet file with joint positions over time. How do I load it into Rerun with the right timeline?β
5 new skills a week. 1 minute to read.
How it works
The agent sets up a reader that groups columns by their name prefix and marks time columns as timelines. Then it adds lenses that turn the grouped values into typed Rerun components.
Technical content (original SKILL.md)
Original text by the author, straight from 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(
FAQ
Which column should be the timeline?
The skill has you mark the time or index column as a timeline, so all the data lines up with it when you view the recording.
Do I need to write Python code?
The skill treats the mapping as configuration. Code is only needed for steps the reader cannot express, and those are handled with lenses.
What is a lens?
A lens is a small rule that turns raw grouped columns into a typed Rerun component, such as a transform or a set of scalar values.
Details
Original description by the author
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
Popularity
- GitHub stars
- 12k
- Ranking position
- #11557
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
investigate-puffin
12kLets your agent investigate Puffin profiler recordings (.puffin files), find slow code sections and compare traces from before and after a change.
rerun-blueprint
12kTeaches your agent to change how the Rerun viewer looks by writing a blueprint for a recording or table, including layout, views and hidden columns.
rerun-catalog-queries
12kHelps your agent query a Rerun catalog from Python faster, with tips on round trips, payload size and slow dataset reads.
rerun-chunk-processing
12kTeaches your agent to build Rerun data pipelines with readers and lenses that convert MCAP, Parquet, video or RRD files into recordings.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.