Files
2026-07-13 13:05:14 +08:00

25 lines
495 B
Python

"""Query and display the first 10 rows of a recording in a dataframe view."""
import sys
import rerun as rr
import rerun.blueprint as rrb
path_to_rrd = sys.argv[1]
rr.init("rerun_example_dataframe_view_query", spawn=True)
rr.log_file_from_path(path_to_rrd)
blueprint = rrb.Blueprint(
rrb.DataframeView(
origin="/",
query=rrb.archetypes.DataframeQuery(
timeline="log_time",
apply_latest_at=True,
),
),
)
rr.send_blueprint(blueprint)