From cb0d83309eaafc20f6f582aee79a160b32fb8a96 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Sun, 18 Dec 2022 01:37:43 +0100 Subject: [PATCH] and re_query ofc! --- crates/re_query/src/query.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/re_query/src/query.rs b/crates/re_query/src/query.rs index c3e86b722b7ac..7b46815ab68d1 100644 --- a/crates/re_query/src/query.rs +++ b/crates/re_query/src/query.rs @@ -72,10 +72,7 @@ pub fn get_component_with_instances( .map(|(&component, col)| Series::try_from((component, col))) .collect(); - let df = DataFrame::new(series?)?; - let exploded = df.explode(df.get_column_names())?; - - Ok(exploded) + DataFrame::new(series?).map_err(Into::into) } /// If a `DataFrame` has no `Instance` column create one from the row numbers