Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Jul 1, 2024
1 parent 4acc4cc commit 86340fc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/polars-io/src/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,7 @@ where
})),
GroupsProxy::Slice { groups, .. } => {
Box::new(groups.into_iter().map(move |[offset, len]| {
let part_df = df.slice(
i64::try_from(offset).unwrap(),
usize::try_from(len).unwrap(),
);
let part_df = df.slice(offset as i64, len as usize);
(get_path_part(&part_df), part_df)
}))
},
Expand Down

0 comments on commit 86340fc

Please sign in to comment.