rerun-parquet
Fungsinya
Skill ini menjelaskan cara memetakan tabel Parquet ke model data Rerun dengan konfigurasi, bukan dengan kode kustom. Skill ini untuk orang yang memiliki data robot atau sensor dalam bentuk tabel di berkas Parquet.
Kapan dipakai
- โSaat Anda memiliki berkas Parquet berisi lintasan robot atau pembacaan sensor untuk dimuat ke Rerun.
- โSaat Anda perlu memutuskan kolom mana yang menjadi timeline, entity, atau komponen yang dikelompokkan.
- โSaat seseorang menyarankan untuk mengubah bentuk berkas Parquet dengan pandas terlebih dahulu dan Anda menginginkan jalur yang lebih sederhana.
Link skill
https://github.com/rerun-io/rerun/blob/main/skills/rerun-parquet/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya punya berkas Parquet berisi posisi sendi dari waktu ke waktu. Bagaimana cara memuatnya ke Rerun dengan timeline yang benar?โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menyiapkan pembaca yang mengelompokkan kolom berdasarkan awalan namanya dan menandai kolom waktu sebagai timeline. Kemudian agent menambahkan lens yang mengubah nilai yang dikelompokkan menjadi komponen Rerun bertipe.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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(
Pertanyaan umum
Kolom mana yang harus menjadi timeline?
Skill ini meminta Anda menandai kolom waktu atau indeks sebagai timeline, sehingga semua data selaras dengannya saat rekaman dilihat.
Apakah saya perlu menulis kode Python?
Skill ini memperlakukan pemetaan sebagai konfigurasi. Kode hanya diperlukan untuk langkah yang tidak bisa dinyatakan oleh pembaca, dan langkah tersebut ditangani dengan lens.
Apa itu lens?
Lens adalah aturan kecil yang mengubah kolom mentah yang dikelompokkan menjadi komponen Rerun bertipe, seperti transformasi atau sekumpulan nilai skalar.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 12k
- Peringkat
- #11557
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
investigate-puffin
12kMembantu agent Anda menyelidiki rekaman profiler Puffin (berkas .puffin), menemukan bagian kode yang lambat, dan membandingkan jejak dari sebelum dan sesudah perubahan.
rerun-blueprint
12kMengajari agent Anda mengubah tampilan viewer Rerun dengan menulis blueprint untuk sebuah rekaman atau tabel, termasuk tata letak, tampilan, dan kolom tersembunyi.
rerun-catalog-queries
12kMembantu agent Anda mengkueri katalog Rerun dari Python lebih cepat, dengan tips tentang perjalanan bolak-balik, ukuran payload, dan pembacaan dataset yang lambat.
rerun-chunk-processing
12kMengajari agent Anda membangun pipeline data Rerun dengan pembaca dan lensa yang mengubah berkas MCAP, Parquet, video, atau RRD menjadi rekaman.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.