| | import pandas as pd |
| | import numpy as np |
| |
|
| | |
| | parquet_path = "data/chunk-000/episode_000001.parquet" |
| |
|
| | |
| | print(f"📂 Loading {parquet_path}") |
| | df = pd.read_parquet(parquet_path) |
| |
|
| | |
| | print("\n🧩 All columns in the DataFrame:") |
| | print(df.columns.tolist()) |
| |
|
| | |
| | print("\n🔍 Inspecting df['observation.image.low'] (first 3 rows):") |
| | for idx in range(min(3, len(df))): |
| | item = df["observation.image.low"].iloc[idx] |
| | print(f"\n--- Row {idx} ---") |
| | print("Type:", type(item)) |
| | print("Value:", item) |
| |
|
| | if isinstance(item, dict): |
| | print("Dict keys:", item.keys()) |
| | if "low" in item: |
| | print(" -> low type:", type(item["low"])) |
| | print(" -> low shape:", np.array(item["low"]).shape) |
| |
|
| | |
| | if "observation" in df.columns: |
| | print("\n🧠 Full observation structure from row 0:") |
| | obs = df["observation"].iloc[0] |
| | print("Type:", type(obs)) |
| | print("Content:", obs) |
| |
|
| | print("\n✅ Done inspecting.") |
| |
|
| |
|