polars.head#

polars.head(column: str, n: int = 10) Expr[source]#
polars.head(column: Series, n: int = 10) Series

Get the first n rows.

Parameters:
column

Column name or Series.

n

Number of rows to return.