polars.DataFrame.height#

property DataFrame.height: int[source]#

Get the height of the DataFrame.

Examples

>>> df = pl.DataFrame({"foo": [1, 2, 3, 4, 5]})
>>> df.height
5