rerun-parquet
하는 일
이 스킬은 사용자 정의 코드 대신 설정으로 Parquet 표를 Rerun 데이터 모델에 대응시키는 방법을 설명합니다. 로봇이나 센서의 표 형식 데이터를 Parquet 파일로 가진 사람을 위한 스킬입니다.
사용하는 경우
- ✓로봇 궤적이나 센서 값이 담긴 Parquet 파일을 Rerun에 불러오려고 할 때.
- ✓어떤 열을 타임라인, 엔티티 또는 묶인 컴포넌트로 만들지 정해야 할 때.
- ✓누군가 Parquet 파일을 먼저 pandas로 재구성하자고 할 때, 더 간단한 방법을 원하는 경우.
스킬 링크
https://github.com/rerun-io/rerun/blob/main/skills/rerun-parquet/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“관절 위치가 시간에 따라 기록된 Parquet 파일이 있습니다. 올바른 타임라인으로 Rerun에 불러오려면 어떻게 해야 하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 열 이름 접두사로 열을 묶고, 시간 열은 타임라인으로 표시하는 리더를 설정합니다. 그다음 렌즈를 추가해 묶인 값을 타입이 있는 Rerun 컴포넌트로 바꿉니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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(
자주 묻는 질문
어떤 열을 타임라인으로 써야 하나요?
시간 또는 인덱스 열을 타임라인으로 표시합니다. 그래야 기록을 볼 때 모든 데이터가 그 열에 맞춰 정렬됩니다.
Python 코드를 작성해야 하나요?
이 스킬은 매핑을 설정으로 다룹니다. 리더가 표현하지 못하는 단계에만 코드가 필요하며, 그 단계는 렌즈로 처리합니다.
렌즈란 무엇인가요?
렌즈는 묶인 원시 열을 변환이나 스칼라 값 묶음 같은 타입이 있는 Rerun 컴포넌트로 바꾸는 작은 규칙입니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 12k
- 순위
- #11557
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
investigate-puffin
12k에이전트가 Puffin 프로파일러 기록(.puffin 파일)을 살펴보고, 느린 코드 구간을 찾고, 변경 전후의 추적 결과를 비교하도록 돕습니다.
rerun-blueprint
12k에이전트가 블루프린트를 작성해 Rerun 뷰어의 모습을 바꾸도록 가르칩니다. 레이아웃, 뷰, 숨긴 열을 포함합니다.
rerun-catalog-queries
12k에이전트가 Python에서 Rerun 카탈로그를 더 빠르게 조회하도록 돕습니다. 왕복 호출, 데이터 크기, 느린 데이터셋 읽기에 대한 팁을 제공합니다.
rerun-chunk-processing
12k에이전트에게 리더와 렌즈로 Rerun 데이터 파이프라인을 만드는 법을 가르칩니다. MCAP, Parquet, 비디오, RRD 파일을 녹화로 변환합니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.