rerun-parquet
यह क्या करती है
यह स्किल बताती है कि कस्टम कोड के बजाय कॉन्फ़िगरेशन से Parquet टेबल को Rerun डेटा मॉडल पर कैसे मैप करें। यह उन लोगों के लिए है जिनके पास रोबोट या सेंसर का टेबल वाला डेटा Parquet फ़ाइलों में है।
कब इस्तेमाल करें
- ✓जब आपके पास रोबोट ट्रैजेक्टरी या सेंसर रीडिंग की Parquet फ़ाइल है जिसे Rerun में लोड करना है।
- ✓जब आपको तय करना हो कि कौन-से कॉलम timelines, entities या समूहित components बनें।
- ✓जब कोई सुझाए कि पहले pandas में Parquet फ़ाइल बदली जाए, और आप सरल रास्ता चाहें।
Skill का लिंक
https://github.com/rerun-io/rerun/blob/main/skills/rerun-parquet/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे पास Parquet फ़ाइल है जिसमें समय के साथ joint positions हैं। मैं इसे सही timeline के साथ Rerun में कैसे लोड करूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट एक रीडर सेट करता है जो कॉलम को उनके नाम के prefix से समूहित करता है और समय वाले कॉलम को timelines बनाता है। फिर lenses जोड़े जाते हैं जो समूहित मानों को टाइप किए Rerun components में बदलते हैं।
तकनीकी सामग्री (मूल 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(
अक्सर पूछे जाने वाले सवाल
कौन-सा कॉलम timeline होना चाहिए?
स्किल आपको समय या index कॉलम को timeline के रूप में चिह्नित करने को कहती है, ताकि देखते समय सारा डेटा उसी से मेल खाए।
क्या मुझे Python कोड लिखना होगा?
स्किल इस मैपिंग को कॉन्फ़िगरेशन मानती है। कोड केवल उन चरणों के लिए चाहिए जो रीडर व्यक्त नहीं कर सकता, और वे lenses से संभाले जाते हैं।
lens क्या है?
lens एक छोटा नियम है जो कच्चे समूहित कॉलम को टाइप किए Rerun component में बदलता है, जैसे transform या scalar मानों का समूह।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
investigate-puffin
12kयह आपके एजेंट को Puffin प्रोफ़ाइलर रिकॉर्डिंग जाँचने, धीमे कोड भाग ढूँढने और बदलाव से पहले-बाद के ट्रेस की तुलना करने में मदद करती है।
rerun-blueprint
12kआपके एजेंट को ब्लूप्रिंट लिखकर Rerun व्यूअर का लेआउट, व्यू और छिपे कॉलम बदलना सिखाती है।
rerun-catalog-queries
12kयह आपके एजेंट को Python से Rerun कैटलॉग पर क्वेरी तेज़ करने में मदद करती है, राउंड ट्रिप, डेटा आकार और धीमी रीड के सुझावों के साथ।
rerun-chunk-processing
12kआपके एजेंट को Rerun डेटा पाइपलाइन बनाना सिखाती है, जो रीडर और लेंस से MCAP, Parquet, वीडियो या RRD फ़ाइलों को रिकॉर्डिंग में बदलती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।