polars.Expr.limit#

Expr.limit(n: int = 10) Self[source]#

Get the first n rows.

Alias for Expr.head().

Parameters:
n

Number of rows to return.