polars.DataFrame.limit#
- DataFrame.limit(n: int = 5) Self [source]#
Get the first n rows.
Alias for
DataFrame.head()
.- Parameters:
- n
Number of rows to return. If a negative value is passed, return all rows except the last
abs(n)
.
See also
Site Navigation
Section Navigation
Get the first n rows.
Alias for DataFrame.head()
.
Number of rows to return. If a negative value is passed, return all rows
except the last abs(n)
.
See also