polars.Expr.tail# Expr.tail(n: int | Expr = 10) → Self[source]# Get the last n rows. Parameters: nNumber of rows to return. Examples >>> df = pl.DataFrame({"foo": [1, 2, 3, 4, 5, 6, 7]}) >>> df.tail(3) shape: (3, 1) ┌─────┐ │ foo │ │ --- │ │ i64 │ ╞═════╡ │ 5 │ │ 6 │ │ 7 │ └─────┘