rerun-parquet
Was er macht
Dieser Skill erklärt, wie man eine Parquet-Tabelle über eine Konfiguration statt über eigenen Code auf das Datenmodell von Rerun abbildet. Er ist für Menschen gedacht, die tabellarische Roboter- oder Sensordaten in Parquet-Dateien haben.
Wann du ihn nutzt
- ✓Wenn du eine Parquet-Datei mit Roboterbahnen oder Sensorwerten in Rerun laden willst.
- ✓Wenn du entscheiden musst, welche Spalten zu Zeitachsen, Entitäten oder gruppierten Komponenten werden.
- ✓Wenn jemand vorschlägt, eine Parquet-Datei zuerst in pandas umzuformen, und du einen einfacheren Weg willst.
Link zum Skill
https://github.com/rerun-io/rerun/blob/main/skills/rerun-parquet/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Ich habe eine Parquet-Datei mit Gelenkpositionen über die Zeit. Wie lade ich sie mit der richtigen Zeitachse in Rerun?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent richtet einen Leser ein, der Spalten nach ihrem Namenspräfix gruppiert und Zeitspalten als Zeitachsen markiert. Danach fügt er Lenses hinzu, die die gruppierten Werte in typisierte Rerun-Komponenten umwandeln.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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(
Häufige Fragen
Welche Spalte sollte die Zeitachse sein?
Der Skill lässt dich die Zeit- oder Indexspalte als Zeitachse markieren, damit sich alle Daten beim Ansehen der Aufnahme danach ausrichten.
Brauche ich Python-Code?
Der Skill behandelt die Zuordnung als Konfiguration. Code braucht es nur für Schritte, die der Leser nicht ausdrücken kann, und die werden mit Lenses erledigt.
Was ist eine Lens?
Eine Lens ist eine kleine Regel, die rohe gruppierte Spalten in eine typisierte Rerun-Komponente umwandelt, etwa eine Transformation oder eine Gruppe von Skalarwerten.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 12k
- Platz im Ranking
- #11557
- Lizenz
- Apache-2.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
investigate-puffin
12kLässt deinen Agenten Puffin-Profiler-Aufnahmen (.puffin-Dateien) untersuchen, langsame Codestellen finden und Messungen vor und nach einer Änderung vergleichen.
rerun-blueprint
12kBringt deinem Agenten bei, wie der Rerun-Viewer per Blueprint anders aussieht: mit Layout, Ansichten und ausgeblendeten Spalten für Aufnahmen oder Tabellen.
rerun-catalog-queries
12kHilft deinem Agenten, Abfragen an einen Rerun-Katalog aus Python zu beschleunigen, mit Tipps zu Verbindungen, Datenmenge und langsamen Lesevorgängen.
rerun-chunk-processing
12kBringt deinem Agenten bei, Rerun-Datenpipelines mit Readern und Lenses zu bauen, die MCAP-, Parquet-, Video- oder RRD-Dateien in Aufnahmen umwandeln.
Ähnliche Skills
gitcrawl
394kLässt deinen Agenten ein gespeichertes Archiv von GitHub-Issues und Pull Requests durchsuchen, Duplikate gruppieren und ihren aktuellen Status auf GitHub prüfen.
slacrawl
394kLässt deinen Agenten Nachrichten in einem lokalen Slack-Archiv durchsuchen und zählen, dessen Aktualität prüfen und es bei Bedarf auffrischen.
goplaces
394kHilft deinem Agenten, mit Google Places nach Orten zu suchen, Details und Bewertungen abzurufen und Ortsnamen aufzulösen, mit JSON-Ausgabe für Skripte.