polars.Expr.limit#

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

Get the first n rows.

Alias for Expr.head().

Parameters:
n

Number of rows to return.