polars.LazyFrame.width#

property LazyFrame.width: int[source]#

Get the width of the LazyFrame.

Examples

>>> lf = pl.DataFrame({"foo": [1, 2, 3], "bar": [4, 5, 6]}).lazy()
>>> lf.width
2