Skip to content

Commit

Permalink
Merge branch 'issue-257' of github.com:Bidek56/nodejs-polars into iss…
Browse files Browse the repository at this point in the history
…ue-257
  • Loading branch information
Bidek56 committed Aug 30, 2024
2 parents cd5feb0 + bda4279 commit 3185a82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lazy/dataframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,9 @@ impl JsLazyFrame {
.into()
}
#[napi(catch_unwind)]
pub fn slice(&self, offset: i64, lenght: u32) -> JsLazyFrame {
pub fn slice(&self, offset: i64, length: u32) -> JsLazyFrame {
let ldf = self.ldf.clone();
ldf.slice(offset, lenght).into()
ldf.slice(offset, length).into()
}
#[napi(catch_unwind)]
pub fn tail(&self, n: u32) -> JsLazyFrame {
Expand Down

0 comments on commit 3185a82

Please sign in to comment.