Get the first n rows
Description
This is an alias for $head().
Usage
<Expr>$limit(n = 10)
Arguments
n
|
Number of rows to return. |
Value
A polars expression
Examples
#> shape: (3, 1)
#> ┌─────┐
#> │ a │
#> │ --- │
#> │ i32 │
#> ╞═════╡
#> │ 1 │
#> │ 2 │
#> │ 3 │
#> └─────┘